Cell API
    Preparing search index...

    Class Queue<T>

    A queue is handles one promise at a time and guarantees that at any time only one promise is executing.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index
    • get onDrained(): Event<void>

      An event that fires when every promise in the queue has started to execute. In other words: no work is pending to be scheduled.

      This is NOT an event that signals when all promises have finished though.

      Returns Event<void>