fork package:streamly
fork lifted to any monad with 'MonadBaseControl IO m'
capability.
Fork a thread that is automatically killed as soon as the reference to
the returned threadId is garbage collected.
Fork a thread to run the given computation, installing the provided
exception handler. Lifted to any monad with 'MonadRunInIO m'
capability.
TODO: the RunInIO argument can be removed, we can directly pass the
action as "mrun action" instead.
Similar to
doFork, but has a "bound" boolean parameter for
specifying whether
forkOS should be used instead of
rawForkIO.