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

Method notify

packages/effect/src/unstable/reactivity/AtomRegistry.ts:772–778  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

770 }
771
772 notify(): void {
773 this.listeners.forEach(notifyListener)
774
775 if (batchState.phase === BatchPhase.commit) {
776 batchState.notify.delete(this)
777 }
778 }
779
780 disposeLifetime(): void {
781 if (this.lifetime !== undefined) {

Callers 10

setInitialValueMethod · 0.95
setValueMethod · 0.95
Client.test.tsFile · 0.45
Runners.test.tsFile · 0.45
batchFunction · 0.45
sendOutgoingFunction · 0.45
RunnerServer.tsFile · 0.45
notifyFunction · 0.45
notifyLocalFunction · 0.45

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected