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

Method interruptAsFork

packages/effect/src/Fiber.ts:99–99  ·  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

97 * resume immediately. Otherwise, the effect will resume when the fiber exits.
98 */
99 interruptAsFork(fiberId: FiberId.FiberId): Effect.Effect<void>
100
101 readonly [Unify.typeSymbol]?: unknown
102 readonly [Unify.unifySymbol]?: FiberUnify<this>

Callers 7

handlerFunction · 0.65
writeFunction · 0.65
fiber.tsFile · 0.65
fiberAllFunction · 0.65
disconnectFunction · 0.65
core.tsFile · 0.65
circular.tsFile · 0.65

Implementers 1

FiberRuntimepackages/effect/src/internal/fiberRunt

Calls

no outgoing calls

Tested by

no test coverage detected