data-timeout-0.3.1: 64-bit timeouts of nanosecond precision
Safe HaskellSafe-Inferred
LanguageHaskell98

Control.Concurrent.Timeout

Synopsis

Documentation

timeout :: MonadBase IO μ => Timeout -> IO α -> μ (Maybe α) Source #

A version of timeout that takes Timeout instead of number of microseconds.

threadDelay :: MonadBase IO μ => Timeout -> μ () Source #

A version of threadDelay that takes Timeout instead of number of microseconds.