Properties
Private Readonly #cancelHandlers
#cancelHandlers: (() => void)[]
Private #isCancelled
#isCancelled: boolean
Private #isRejected
#isRejected: boolean
Private #isResolved
#isResolved: boolean
Private Readonly #promise
#promise: Promise<T>
Private Optional #reject
#reject?: ((reason?: any) => void)
Type declaration
-
- (reason?: any): void
-
Returns void
Private Optional #resolve
#resolve?: ((value: T | PromiseLike<T>) => void)
Type declaration
-
- (value: T | PromiseLike<T>): void
-
Parameters
-
value: T | PromiseLike<T>
Returns void
Readonly [toStringTag]
[toStringTag]: string