The TaskQueue is a FIFO queue for asynchronous tasks. The tasks are sequentially processed in the order they were added.

Hierarchy

  • TaskQueue

Constructors

Accessors

Methods

Constructors

Accessors

  • get hasPendingTasks(): boolean
  • Returns boolean

Methods

  • Type Parameters

    • T

    Parameters

    • pTask: (() => Promise<T>)
        • (): Promise<T>
        • Returns Promise<T>

    Returns Promise<T>

Generated using TypeDoc