MCPcopy 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

endUnsafeFunction · 0.85
takeRemainderLoopFunction · 0.85
someMethod · 0.80
setMethod · 0.65
takeAllMethod · 0.65
takeMethod · 0.65
clearMethod · 0.65
publishMethod · 0.65
handleSurplusMethod · 0.65
publishAllMethod · 0.65
takeNMethod · 0.65

Tested by

no test coverage detected