Skip to main content

PromiseState

State of a promise object.

Elements

ElementDescription
PromiseState.ErrorThe execution of asynchronous function resulted in an error.
PromiseState.FulfilledThe promise successfully completed the asynchronous function
PromiseState.NoneDefault promise state.
PromiseState.PendingExecution of asynchronous function started, but yet to be completed.
PromiseState.RejectedThe promise is rejected.