Safe Haskell | Safe-Inferred |
---|
- sequencePool :: Traversable t => Int -> t (IO a) -> IO (t a)
- mapPool :: Traversable t => Int -> (a -> IO b) -> t a -> IO (t b)
- sequenceConcurrently :: Traversable t => t (IO a) -> IO (t a)
- fixAsync :: (Async a -> IO a) -> IO (Async a)
- withParent :: Async a -> IO b -> IO (Async b)
- newtype Promise a = Promise {}
Documentation
sequencePool :: Traversable t => Int -> t (IO a) -> IO (t a)Source
Implementation derived from Petr Pudlák's answer on StackOverflow http:stackoverflow.coma18898822/230050
mapPool :: Traversable t => Int -> (a -> IO b) -> t a -> IO (t b)Source
Implementation copied from Petr Pudlák's answer on StackOverflow http:stackoverflow.coma18898822/230050
sequenceConcurrently :: Traversable t => t (IO a) -> IO (t a)Source