Package: effect
Module: Cause
Checks if a Cause contains only interruptions.
Details
This function returns true if the Cause has been interrupted but does not
contain any other failures, such as Fail or Die. It’s helpful for
verifying purely “cancellation” scenarios.
Signature
declare const isInterruptedOnly: <E>(self: Cause<E>) => boolean
Since v2.0.0