Control.Concurrent.Timeout
timeout :: MonadBase IO μ => Timeout -> IO α -> μ (Maybe α) Source #
A version of timeout that takes Timeout instead of number of microseconds.
timeout
Timeout
threadDelay :: MonadBase IO μ => Timeout -> μ () Source #
A version of threadDelay that takes Timeout instead of number of microseconds.
threadDelay