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

Function capacity

packages/effect/src/internal/stm/tQueue.ts:261–263  ·  view source on GitHub ↗
(self: TQueue.TDequeue<A> | TQueue.TEnqueue<A>)

Source from the content-addressed store, hash-verified

259
260/** @internal */
261export const capacity = <A>(self: TQueue.TDequeue<A> | TQueue.TEnqueue<A>): number => {
262 return self.capacity()
263}
264
265/** @internal */
266export const dropping = <A>(requestedCapacity: number): STM.STM<TQueue.TQueue<A>> =>

Callers

nothing calls this directly

Calls 1

capacityMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…