Safe Haskell | None |
---|---|
Language | Haskell2010 |
Convenient versions of some functions from Concurrent
- threadDelay :: (MonadIO m, TimeUnit unit) => unit -> m ()
- modifyTVarS :: TVar s -> StateT s STM a -> STM a
Documentation
threadDelay :: (MonadIO m, TimeUnit unit) => unit -> m () Source #
Convenient version of Control.Concurrent.threadDelay which takes any time-unit and operates in any MonadIO