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

Method poll

packages/effect/src/internal/queue.ts:414–416  ·  view source on GitHub ↗
(def: Def)

Source from the content-addressed store, hash-verified

412 readonly [BackingQueueTypeId] = backingQueueVariance
413 constructor(readonly mutable: MutableQueue.MutableQueue<A>) {}
414 poll<Def>(def: Def): A | Def {
415 return MutableQueue.poll(this.mutable, def)
416 }
417 pollUpTo(limit: number): Chunk.Chunk<A> {
418 return MutableQueue.pollUpTo(this.mutable, limit)
419 }

Callers

nothing calls this directly

Calls 1

pollMethod · 0.65

Tested by

no test coverage detected