Safe Haskell | None |
---|---|
Language | Haskell2010 |
- doConcurrently :: (Traversable t, MonadUnliftIO m) => t (m a) -> m (t a)
- doConcurrently_ :: (Foldable f, MonadUnliftIO m) => f (m a) -> m ()
- filterConcurrently :: (Traversable t, Applicative t, Monoid (t a), MonadUnliftIO m) => (a -> Bool) -> t (m a) -> m (t a)
- module Control.Monad.IO.Unlift
- module UnliftIO.Concurrent
- module UnliftIO.Async
- module Control.Monad.Trans.Control
Documentation
doConcurrently :: (Traversable t, MonadUnliftIO m) => t (m a) -> m (t a) Source #
Executes all the IO actions simultaneously and returns the original data structure with the arguments replaced by the results of the execution.
doConcurrently_ :: (Foldable f, MonadUnliftIO m) => f (m a) -> m () Source #
Executes all the IO actions simulataneously and discards the results.
filterConcurrently :: (Traversable t, Applicative t, Monoid (t a), MonadUnliftIO m) => (a -> Bool) -> t (m a) -> m (t a) Source #
Executes all the IO actions simultaneously and then filters the results based on the filter function.
module Control.Monad.IO.Unlift
module UnliftIO.Concurrent
module UnliftIO.Async
module Control.Monad.Trans.Control