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

Method unsafeInterruptAsFork

packages/effect/src/Fiber.ts:182–182  ·  view source on GitHub ↗

* In the background, interrupts the fiber as if interrupted from the * specified fiber. If the fiber has already exited, the returned effect will * resume immediately. Otherwise, the effect will resume when the fiber exits.

(fiberId: FiberId.FiberId)

Source from the content-addressed store, hash-verified

180 * resume immediately. Otherwise, the effect will resume when the fiber exits.
181 */
182 unsafeInterruptAsFork(fiberId: FiberId.FiberId): void
183
184 /**
185 * Gets the current context

Callers 15

runtime.tsFile · 0.65
onSigintFunction · 0.65
HttpServer.test.tsFile · 0.65
makeHandlerFunction · 0.65
makeUpgradeHandlerFunction · 0.65
toWebHandlerRuntimeFunction · 0.65
workerRunner.tsFile · 0.65
RpcServer.tsFile · 0.65
disconnectFunction · 0.65
resumeFunction · 0.65
semaphore.test.tsFile · 0.65
FiberSet.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected