A simple promise queue to enforce the order of async APIs for example, start/stop video/audio input.

Constructors

Properties

Methods

Constructors

Properties

queue: Promise<void>

Methods

  • Type Parameters

    • T

    Parameters

    • func: () => Promise<T>

    Returns Promise<T>