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

Function isEmpty

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

Source from the content-addressed store, hash-verified

1116 * @since 2.0.0
1117 */
1118export const isEmpty = (self: TxQueueState): Effect.Effect<boolean> => TxChunk.isEmpty(self.items)
1119
1120/**
1121 * Checks whether the queue is non-empty.

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