Documentation / @warp-drive/ember / PromiseState
Type Alias: PromiseState<T, E>
ts
type PromiseState<T, E> =
| PendingPromise
| ResolvedPromise<T>
| RejectedPromise<E>;Defined in: warp-drive-packages/core/declarations/signals/promise-state.d.ts:200
The state of a promise. This is the type that is returned from getPromiseState.
See also:
Type Parameters
T
T = unknown
E
E = unknown