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

Method isEmpty

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

Source from the content-addressed store, hash-verified

1615 }
1616
1617 isEmpty(): boolean {
1618 return (
1619 this.unsubscribed ||
1620 this.self.publisherIndex === this.subscriberIndex ||
1621 this.self.publisherIndex === this.self.subscribersIndex
1622 )
1623 }
1624
1625 size() {
1626 if (this.unsubscribed) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected