data-timeout-0.1: 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.