tiempo-0.0.1.0: Specify time intervals in different units (secs, mins, hours, etc.)

Safe HaskellSafe-Inferred

Tiempo.Concurrent

Synopsis

Documentation

threadDelay :: TimeInterval -> IO ()Source

Like Control.Concurrent.threadDelay but accepts a TimeInterval as an argument instead of an Int

timeout :: TimeInterval -> IO a -> IO (Maybe a)Source

Like System.Timeout but accepts a TimeInterval as an argument instead of an Int