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

Function dropping

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

Source from the content-addressed store, hash-verified

571 * @since 2.0.0
572 */
573export const dropping = <A, E = never>(capacity: number): Effect<Queue<A, E>> =>
574 make({ capacity, strategy: "dropping" })
575
576/**
577 * Creates an unbounded queue that can grow to any size without blocking producers.

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected