Documentation
    Preparing search index...

    Class SinglePromiseQueue

    A tiny utility that coalesces/enqueues async operations so only the latest queued task runs per cycle, while callers receive a promise that resolves when the task for the cycle they joined has completed.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    runningDrainLoop?: Promise<void>

    The currently running promise of #drainLoop. Do not await this, instead await pending to await the current cycle.

    Methods