Skip to content

Api > PromiseState


PromiseState⚓︎

State of a promise object.

Elements⚓︎

Element Description
PromiseState.Error The execution of asynchronous function resulted in an error.
PromiseState.Fulfilled The promise successfully completed the asynchronous function
PromiseState.None Default promise state.
PromiseState.Pending Execution of asynchronous function started, but yet to be completed.
PromiseState.Rejected The promise is rejected.