Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ PubSub.ts
File
PubSub.ts
packages/effect/src/PubSub.ts ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Broadcasts values from publishers to many subscribers.
3
*
4
* Publishers add messages with `publish` or `publishAll`, and each active
Callers
nothing calls this directly
Calls
15
endUnsafe
Function · 0.85
takeRemainderLoop
Function · 0.85
some
Method · 0.80
set
Method · 0.65
takeAll
Method · 0.65
take
Method · 0.65
clear
Method · 0.65
publish
Method · 0.65
completeSubscribersUnsafe
Method · 0.65
handleSurplus
Method · 0.65
publishAll
Method · 0.65
takeN
Method · 0.65
Tested by
no test coverage detected