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

Function isEmpty

packages/effect/src/TxQueue.ts:1087–1087  ·  view source on GitHub ↗
(self: TxQueueState)

Source from the content-addressed store, hash-verified

1085 * @since 2.0.0
1086 */
1087export const isEmpty = (self: TxQueueState): Effect.Effect<boolean> => TxChunk.isEmpty(self.items)
1088
1089/**
1090 * Checks whether the queue is at capacity.

Callers 4

takeFunction · 0.70
pollFunction · 0.70
takeAllFunction · 0.70
TxQueue.tsFile · 0.70

Calls 1

isEmptyMethod · 0.65

Tested by

no test coverage detected