Open saurabhnanda opened 4 years ago
No, not presently.
Is there workaround to run mapTasks in something other than IO? MonadBaseControl is not applicable -> because "a" type is different
myMapTasks :: (Monad (t IO), MonadTransControl t) => AP.TaskGroup -> [t IO a] -> t IO [a]
myMapTasks tg a =
liftWith (\rib -> AP.mapTasks tg (rib <$> a)) >>= \x ->
traverse (restoreT . return) x
Does this library have a "lifted" version similar to
lifted-async
orUnliftIO.async
?