data-timeout-0.2: 64-bit timeouts of nanosecond precision

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.