Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
withJobPool :: forall group m a b. ( MonadAsync m, MonadThrow m, MonadLabelledSTM m) => ( JobPool group m a -> m b) -> m b Source #
forkJob :: forall group m a. ( MonadAsync m, MonadMask m, Ord group) => JobPool group m a -> Job group m a -> m () Source #
cancelGroup :: ( MonadAsync m, Eq group) => JobPool group m a -> group -> m () Source #