UNPKG

@fbltd/async

Version:

Miscellaneous async utils

12 lines (11 loc) 339 B
export declare class PromiseConfiguration<TReturn = void> { readonly promise: Promise<TReturn>; private _resolve; private _reject; private _isFulfilled; constructor(); get reject(): (value: Error) => void; get resolve(): (value: TReturn) => void; get isFulfilled(): boolean; get isPending(): boolean; }