PromiseQueue

Ordered promise queue, supporting asynchronous enqueuing / fulfillment.

Members

Functions

fulfillOne
P fulfillOne(typeof(P.Box.tupleof) value)

Fulfill one waiting promise, or enqueue a fulfilled one.

waitOne
P waitOne()

Retrieve the next fulfilled promise, or enqueue a waiting one.

Meta