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

Method isEmpty

packages/effect/src/PubSub.ts:109–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 */
108 export interface BackingSubscription<out A> {
109 isEmpty(): boolean
110 size(): number
111 poll(): A | MutableList.Empty
112 pollUpTo(n: number): Array<A>

Callers

nothing calls this directly

Implementers 4

BoundedPubSubArbSubscriptionpackages/effect/src/PubSub.ts
BoundedPubSubPow2Subscriptionpackages/effect/src/PubSub.ts
BoundedPubSubSingleSubscriptionpackages/effect/src/PubSub.ts
UnboundedPubSubSubscriptionpackages/effect/src/PubSub.ts

Calls

no outgoing calls

Tested by

no test coverage detected