Type alias DeferredOut<T>
DeferredOut<T>: { promise: Promise<T>; reject: ((reason?) => void); resolve: ((value) => void); } Type declaration
promise: Promise<T>
reject: ((reason?) => void)
- (reason?): void
Returns void
resolve: ((value) => void)
- (value): void
Returns void
Represents a deferred promise, which exposes the resolve and reject functions.