Closed vrom911 closed 6 years ago
As it was very often pattern I've implemented
forkLogIO :: (MonadIO m, WithLogger m) => LoggerNameBox IO () -> m ThreadId forkLogIO action = do logName <- askLoggerName liftIO $ forkIO $ usingLoggerName logName $ action
It would be helpful to have something more common not related only to forkIO.
forkIO
@vrom911 This might be helpful! Especially with proper documentation and examples.
As it was very often pattern I've implemented
It would be helpful to have something more common not related only to
forkIO
.