effect-io-ai

Package: effect
Module: Cause

Cause.interrupt

Creates an Interrupt cause from a FiberId.

Details

This function represents a fiber that has been interrupted. It stores the identifier of the interrupted fiber, enabling precise tracking of concurrent cancellations.

See

Signature

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

Source

Since v2.0.0