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

Safe HaskellNone

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.