MCPcopy Create free account
hub / github.com/Effect-TS/effect / sliding

Function sliding

packages/effect/src/internal/stm/tQueue.ts:319–320  ·  view source on GitHub ↗
(requestedCapacity: number)

Source from the content-addressed store, hash-verified

317
318/** @internal */
319export const sliding = <A>(requestedCapacity: number): STM.STM<TQueue.TQueue<A>> =>
320 makeQueue<A>(requestedCapacity, Sliding)
321
322/** @internal */
323export const take = <A>(self: TQueue.TDequeue<A>): STM.STM<A> => self.take

Callers

nothing calls this directly

Calls 1

makeQueueFunction · 0.85

Tested by

no test coverage detected