effect-io-ai

Package: effect
Module: Exit

Exit.interrupt

Constructs a new Exit.Failure from the specified FiberId indicating that the Fiber running an Effect workflow was terminated due to interruption.

Signature

declare const interrupt: (fiberId: FiberId.FiberId) => Exit<never>

Source

Since v2.0.0