Package: effect
Module: Effect
This function behaves like interruptible, but it also provides a
restore function. This function can be used to restore the interruptibility
of any specific region of code.
Signature
declare const interruptibleMask: <A, E, R>(f: (restore: <AX, EX, RX>(effect: Effect<AX, EX, RX>) => Effect<AX, EX, RX>) => Effect<A, E, R>) => Effect<A, E, R>
Since v2.0.0