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

Function backingQueueFromMutableQueue

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

Source from the content-addressed store, hash-verified

433
434/** @internal */
435export const backingQueueFromMutableQueue = <A>(mutable: MutableQueue.MutableQueue<A>): Queue.BackingQueue<A> =>
436 new BackingQueueFromMutableQueue(mutable)
437
438/** @internal */
439export const capacity = <A>(self: Queue.Dequeue<A> | Queue.Enqueue<A>): number => self.capacity()

Callers 4

boundedFunction · 0.85
droppingFunction · 0.85
slidingFunction · 0.85
unboundedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected