PromiseQueue.waitOne

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

struct PromiseQueue(T, E = Exception)
P
waitOne
()

Meta