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

Function bounded

packages/effect/src/Queue.ts:500–500  ·  view source on GitHub ↗
(capacity: number)

Source from the content-addressed store, hash-verified

498 * @since 2.0.0
499 */
500export const bounded = <A, E = never>(capacity: number): Effect<Queue<A, E>> => make({ capacity })
501
502/**
503 * Creates a bounded queue with sliding strategy. When the queue reaches capacity,

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected