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.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Modulestreamly-0.10.1Haskell2010
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.
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.