WebIDLpedia

PromiseRejectionEvent interface

Definition

HTML Standard defines PromiseRejectionEvent



[Exposed=*]
interface PromiseRejectionEvent : Event {
  constructor(DOMString type, PromiseRejectionEventInit eventInitDict);

  readonly attribute object promise;
  readonly attribute any reason;
};

Methods and attributes that return objects implementing PromiseRejectionEvent