import { type EventHandlersEventMap } from "https://deno.land/x/defer@0.6.0/src/event_handlers.d.ts";
Properties
Emitted when a Defer Promise instance is fulfilled, meaning it has
fully resolved to a value without encountering an error. At the time of
emission, the Promise's state will be "fulfilled"
.
Alias for settled | the 'fulfilled' event
Emitted when a Defer Promise instance is rejected, meaning it has
encountered an error. At the time of emission, the Promise's state will
be "rejected"
.
Emitted when a Defer Promise instance is settled, meaning it has been
either fulfilled or rejected. At the time of emission, the Promise's state
will be either "fulfilled"
or "rejected"
, indicating their outcome.
Note: This is fired after any "fulfilled"
or "rejected"
events.
Emitted whenever a Defer Promise's state changes to a new value. This
event is fired before any "fulfilled"
or "rejected"
events, and
before the Promise is actually completely settled.