Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isEmpty
Method
isEmpty
packages/effect/src/PubSub.ts:1989–1995 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1987
}
1988
1989
isEmpty(): boolean {
1990
return
(
1991
this.unsubscribed ||
1992
this.self.subscribers === 0 ||
1993
this.subscriberIndex === this.self.publisherIndex
1994
)
1995
}
1996
1997
size() {
1998
return
this.isEmpty() ? 0 : 1
Callers
3
size
Method · 0.95
poll
Method · 0.95
pollUpTo
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected