mask package:effectful-core
the state during
mask: asynchronous exceptions are masked, but
blocking operations may still be interrupted
the state during
uninterruptibleMask: asynchronous exceptions
are masked, and blocking operations may not be interrupted
Describes the behaviour of a thread when an asynchronous exception is
received.
asynchronous exceptions are unmasked (the normal state)