Class representing a work queue used to execute asynchronous tasks sequentially in the order they are queued.

Constructors

Properties

Methods

Constructors

Properties

_Queue: Promise<void> = ...

Methods

  • Posts an asynchronous task to the work queue. The task will be executed after all previously queued tasks have completed.

    Parameters

    • task: Task

      The task to post to the queue.

    Returns Promise<void>

    • A promise that resolves when the task that was posted to the queue is complete.

Generated using TypeDoc