HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulestreamly-0.11.1Haskell2010

Streamly.Internal.Control.ForkLifted

Synopsis
  • Packagestreamly-0.11.1
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceForkLifted.hs
valuedoFork
  1. :: MonadRunInIO m
  2. => m ()
  3. -> RunInIO m
  4. -> SomeException -> IO ()
  5. -> m ThreadId

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.