augment-vir - v31.34.1
    Preparing search index...

    Class PromiseQueue

    A queue that manages its items with promises.

    Hierarchy

    Index

    Constructors

    Properties

    currentlyAwaiting: undefined | PromiseQueueItem<any> = undefined
    queue: PromiseQueueItem<any>[] = []
    queueItemIds: Set<PropertyKey> = ...

    Accessors

    Methods

    • Checks if the given id is currently in the queue.

      Parameters

      • id: PropertyKey

      Returns boolean

      true if the item is in the queue and has not been resolved or rejected. false if the item has never been in the queue or has been resolved / rejected from the queue.