BlockedQueue

a blocked queue for async operations

Since

5.19.0

Type Parameters

  • I = any

Hierarchy

  • BlockedQueue

Constructors

Methods

Constructors

Methods

  • push an item to the queue, blocked when the queue is full

    Parameters

    • item: I

    Returns Promise<void>

    Throws

    throw when pending items are too much