Type Alias PromiseQueueItem<T>

PromiseQueueItem<T>: {
    original: (() => MaybePromise<T>);
    wrapper: DeferredPromise<T>;
}

An individual item in a PromiseQueue instance.

Type Parameters

  • T = void

Type declaration