MCPcopy Create free account
hub / github.com/davidflanagan/jstdg7 / AsyncQueue

Class AsyncQueue

ch13/AsyncQueue.js:9–75  ·  view source on GitHub ↗

* An asynchronously iterable queue class. Add values with enqueue() * and remove them with dequeue(). dequeue() returns a Promise, which * means that values can be dequeued before they are enqueued. The * class implements [Symbol.asyncIterator] and next() so that it can * be used with the for/aw

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected