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

Function size

packages/effect/src/TxPriorityQueue.ts:202–202  ·  view source on GitHub ↗
(self: TxPriorityQueue<A>)

Source from the content-addressed store, hash-verified

200 * @since 2.0.0
201 */
202export const size = <A>(self: TxPriorityQueue<A>): Effect.Effect<number> => Effect.map(TxRef.get(self.ref), C.size)
203
204/**
205 * Returns `true` if the queue is empty.

Callers 2

isEmptyFunction · 0.70
isNonEmptyFunction · 0.70

Calls 2

getMethod · 0.65
mapMethod · 0.45

Tested by

no test coverage detected