Options
All
  • Public
  • Public/Protected
  • All
Menu

The request queue manager.

Hierarchy

  • Queue

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private Readonly promises

promises: { promise: Promise<void>; resolve: any }[] = []

The list of requests to perform.

Accessors

length

  • get length(): number

Methods

shift

  • shift(): void

wait

  • wait(): Promise<void>
  • Wait for the resolution of first request in the queue.

    Returns Promise<void>

Generated using TypeDoc