MCPcopy Index your code
hub / github.com/Effect-TS/effect / unsafePollAll

Function unsafePollAll

packages/effect/src/internal/queue.ts:723–725  ·  view source on GitHub ↗
(queue: MutableQueue.MutableQueue<A>)

Source from the content-addressed store, hash-verified

721
722/** @internal */
723const unsafePollAll = <A>(queue: MutableQueue.MutableQueue<A>): Chunk.Chunk<A> => {
724 return pipe(queue, MutableQueue.pollUpTo(Number.POSITIVE_INFINITY))
725}
726
727/** @internal */
728const unsafePollN = <A>(queue: MutableQueue.MutableQueue<A>, max: number): Chunk.Chunk<A> => {

Callers 6

shutdownMethod · 0.85
shutdownMethod · 0.85
unsafeRemoveMethod · 0.85
unsafeRemoveFunction · 0.85
queue.tsFile · 0.85

Calls 2

pipeFunction · 0.70
pollUpToMethod · 0.65

Tested by

no test coverage detected