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

Method isEmpty

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

Source from the content-addressed store, hash-verified

1811 }
1812
1813 isEmpty(): boolean {
1814 return (
1815 this.unsubscribed ||
1816 this.self.publisherIndex === this.subscriberIndex ||
1817 this.self.publisherIndex === this.self.subscribersIndex
1818 )
1819 }
1820
1821 size() {
1822 if (this.unsubscribed) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected