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

Function runFork

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

Source from the content-addressed store, hash-verified

345 return Scope.close(self.scope, Exit.void)
346 }),
347 runFork<A, E>(effect: Effect.Effect<A, E, R>, options?: Effect.RunOptions): Fiber.Fiber<A, E | ER> {
348 return self.cachedContext === undefined ?
349 Effect.runFork(provide(self, effect), mergeRunOptions(options)) :
350 Effect.runForkWith(self.cachedContext)(effect, mergeRunOptions(options))
351 },
352 runCallback<A, E>(
353 effect: Effect.Effect<A, E, R>,
354 options?: Effect.RunOptions & {

Callers 15

onExitFunction · 0.85
onMessageFunction · 0.85
runFunction · 0.85
onExitFunction · 0.85
onMessageFunction · 0.85
onExitFunction · 0.85
onMessageFunction · 0.85
onExitFunction · 0.85
onMessageFunction · 0.85
runtimeFunction · 0.85
runtimePromiseFunction · 0.85
runtimeFunction · 0.85

Calls 2

provideFunction · 0.85
mergeRunOptionsFunction · 0.85

Tested by

no test coverage detected