Package: effect
Module: Cause
Retrieves the first Interrupt in a Cause, if present.
Details
This function returns an Option with the first fiber interruption
discovered. This is particularly useful for concurrency analysis or debugging
cancellations.
Signature
declare const interruptOption: <E>(self: Cause<E>) => Option.Option<FiberId.FiberId>
Since v2.0.0