effect-io-ai

Package: effect
Module: Fiber

Fiber.interruptFork

Interrupts the fiber from whichever fiber is calling this method. The interruption will happen in a separate daemon fiber, and the returned effect will always resume immediately without waiting.

Signature

declare const interruptFork: <A, E>(self: Fiber<A, E>) => Effect.Effect<void>

Source

Since v2.0.0