Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
Documentation
A Duration is an abstract type, representing a short delay (in the region of micro-seconds to a few minutes).
This useful for implementing concurrency and process primitives that need to wait for short periods to ensure fairness (for example).
microseconds :: Int -> Duration Source #
milliseconds :: Int -> Duration Source #
toMicroseconds :: Duration -> Int Source #
toMilliseconds :: Duration -> Int Source #