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

Function size

packages/effect/src/Queue.ts:1657–1657  ·  view source on GitHub ↗
(self: Dequeue<A, E>)

Source from the content-addressed store, hash-verified

1655 * @since 2.0.0
1656 */
1657export const size = <A, E>(self: Dequeue<A, E>): Effect<number> => internalEffect.sync(() => sizeUnsafe(self))
1658
1659/**
1660 * Checks whether the queue is full.

Callers

nothing calls this directly

Calls 2

sizeUnsafeFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected