Closed marcosh closed 4 years ago
concurrently now provides the ability to perform two actions concurrently.
concurrently
Would it be something useful to expose a function to perform many actions concurrently?
concurrentlyMany :: [IO a] -> IO [a]
or even something a bit more general
concurrentlyMany :: (Foldable t, ...) => t (IO a) -> IO (t a)
I realised this could already be done with mapConcurrently id
mapConcurrently id
concurrently
now provides the ability to perform two actions concurrently.Would it be something useful to expose a function to perform many actions concurrently?
concurrentlyMany :: [IO a] -> IO [a]
or even something a bit more general
concurrentlyMany :: (Foldable t, ...) => t (IO a) -> IO (t a)