MCPcopy
hub / github.com/Effect-TS/effect / fork

Method fork

packages/effect/src/Scope.ts:63–63  ·  view source on GitHub ↗

* Forks a new child scope with the specified execution strategy. The child scope * will automatically be closed when this scope is closed. * * @internal

(strategy: ExecutionStrategy.ExecutionStrategy)

Source from the content-addressed store, hash-verified

61 * @internal
62 */
63 fork(strategy: ExecutionStrategy.ExecutionStrategy): Effect.Effect<Scope.Closeable>
64 /**
65 * Adds a finalizer to this scope. The finalizer will be run when the scope is closed.
66 *

Callers 15

handlePortFunction · 0.65
RpcServer.test.tsFile · 0.65
Socket.test.tsFile · 0.65
Prompt.test.tsFile · 0.65
Wizard.test.tsFile · 0.65
toChannelMapFunction · 0.65
RpcServer.tsFile · 0.65
FiberSet.test.tsFile · 0.65
FiberRef.test.tsFile · 0.65

Implementers 1

MicroScopeImplpackages/effect/src/Micro.ts

Calls

no outgoing calls

Tested by 3

RateLimiterTestSuiteFunction · 0.52
runFunction · 0.52
concurrentFibFunction · 0.52