Deferred<T>: {
    promise: Promise<T>;
    reject: ((err: Error) => void);
    resolve: ((value: T) => void);
}

Type Parameters

  • T