Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
Types
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).
Functions
microseconds :: Int -> Duration Source #
milliseconds :: Int -> Duration Source #
toMicroseconds :: Duration -> Int Source #
toMilliseconds :: Duration -> Int Source #