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

Function dropping

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

Source from the content-addressed store, hash-verified

264
265/** @internal */
266export const dropping = <A>(requestedCapacity: number): STM.STM<TQueue.TQueue<A>> =>
267 makeQueue<A>(requestedCapacity, Dropping)
268
269/** @internal */
270export const isEmpty = <A>(self: TQueue.TDequeue<A> | TQueue.TEnqueue<A>): STM.STM<boolean> => self.isEmpty

Callers

nothing calls this directly

Calls 1

makeQueueFunction · 0.85

Tested by

no test coverage detected