MCPcopy Create free account
hub / github.com/effect-app/libs / takeAll

Function takeAll

repos/effect/packages/effect/src/Queue.ts:1218–1219  ·  view source on GitHub ↗
(self: Dequeue<A, E>)

Source from the content-addressed store, hash-verified

1216 * **Details**
1217 *
1218 * Returns a non-empty array. If the queue completes or fails before a message
1219 * can be taken, the effect fails with the queue's terminal error.
1220 *
1221 * **Example** (Taking all available values)
1222 *

Callers 1

collectFunction · 0.70

Calls 1

takeBetweenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…