MCPcopy Create free account
hub / github.com/effect-app/libs / runFork

Function runFork

repos/effect/packages/effect/src/ManagedRuntime.ts:332–336  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E, R>, options?: Effect.RunOptions)

Source from the content-addressed store, hash-verified

330 cachedContext: undefined,
331 context() {
332 return self.cachedContext === undefined ?
333 Effect.runPromise(self.contextEffect) :
334 Promise.resolve(self.cachedContext)
335 },
336 dispose(): Promise<void> {
337 return Effect.runPromise(self.disposeEffect)
338 },
339 [Symbol.asyncDispose](): Promise<void> {

Callers 15

CommanderImplClass · 0.85
onExitFunction · 0.85
onMessageFunction · 0.85
onExitFunction · 0.85
runFunction · 0.85
onExitFunction · 0.85
onMessageFunction · 0.85
runtimeFunction · 0.85
runtimePromiseFunction · 0.85
runtimeFunction · 0.85
runtimePromiseFunction · 0.85
mapEffectConcurrentFunction · 0.85

Calls 2

provideFunction · 0.85
mergeRunOptionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…