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

Function bounded

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

Source from the content-addressed store, hash-verified

255
256/** @internal */
257export const bounded = <A>(requestedCapacity: number): STM.STM<TQueue.TQueue<A>> =>
258 makeQueue<A>(requestedCapacity, BackPressure)
259
260/** @internal */
261export const capacity = <A>(self: TQueue.TDequeue<A> | TQueue.TEnqueue<A>): number => {

Callers

nothing calls this directly

Calls 1

makeQueueFunction · 0.85

Tested by

no test coverage detected