effect-io-ai

Package: effect
Module: Cause

Cause.isInterrupted

Checks if a Cause contains an interruption.

Details

This function returns true if the Cause includes any fiber interruptions.

Signature

declare const isInterrupted: <E>(self: Cause<E>) => boolean

Source

Since v2.0.0