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