Safe Haskell | None |
---|---|
Language | Haskell2010 |
- doConcurrently :: (Traversable t, MonadBaseControl IO m) => t (m a) -> m (t a)
- doConcurrently_ :: (Foldable f, MonadBaseControl IO m) => f (m a) -> m ()
- filterConcurrently :: MonadBaseControl IO m => (a -> Bool) -> [m a] -> m [a]
- module Control.Concurrent.Async.Lifted
Documentation
doConcurrently :: (Traversable t, MonadBaseControl IO 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, MonadBaseControl IO m) => f (m a) -> m () Source #
Executes all the IO actions simulataneously and discards the results.
filterConcurrently :: MonadBaseControl IO m => (a -> Bool) -> [m a] -> m [a] Source #
Executes all the IO actions simultaneously, feeds them into the filter function, and then filters the results.