DeferPromise<R>: {
    promise: Promise<R>;
    reject: ((error: unknown) => void);
    resolve: ((value: R) => void);
}

Type Parameters

  • R = unknown