- data TimedOut = TimedOut
- data TimeoutUnit
- timeoutUnitNanos :: TimeoutUnit -> Word64
- newtype Timeout = Timeout Word64
- (#) :: Word64 -> TimeoutUnit -> Timeout
- (#>) :: Timeout -> TimeoutUnit -> Word64
- (#<) :: Timeout -> TimeoutUnit -> Word64
- instantly :: Timeout
Exception that is raised when an operation times out. Not used by the package itself, it is here so that users don't need to roll their own exception type every time.
Timeout in nanoseconds.