promiseWithResolvers
promiseWithResolvers(): {promise: Promise<T>, reject: (reason: any) => void, resolve: (value: PromiseLike) => void}
Returns
type:
{promise: Promise<T>, reject: (reason: any) => void, resolve: (value: PromiseLike) => void}
promiseWithResolvers(): {promise: Promise<T>, reject: (reason: any) => void, resolve: (value: PromiseLike) => void}
{promise: Promise<T>, reject: (reason: any) => void, resolve: (value: PromiseLike) => void}