MCPcopy Index your code
hub / github.com/Effect-TS/effect / run

Function run

packages/experimental/src/Reactivity.ts:115–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 }
114
115 function run() {
116 if (running) {
117 pending = true
118 return
119 }
120 running = true
121 runFork(effect).addObserver(handleExit)
122 }
123
124 const cancel = unsafeRegister(keys, run)
125 yield* Scope.addFinalizer(scope, Effect.sync(cancel))

Callers 2

unsafeInvalidateFunction · 0.70
queryFunction · 0.70

Calls 2

addObserverMethod · 0.65
runForkFunction · 0.50

Tested by

no test coverage detected