Type Alias PromiseQueueUpdate<T>

PromiseQueueUpdate<T>: {
    queueSize: number;
} & RequireExactlyOne<{
    addedItem: PromiseQueueItem<T>;
    finishedItem: PromiseQueueItem<T>;
}>

Data contained within an instance of PromiseQueueUpdateEvent.

Type Parameters

  • T = unknown