hosc-0.20: Haskell Open Sound Control
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Osc.Time.Timeout

Description

Timeout, implemented independently of socket timeout setting.

Synopsis

Documentation

timeout_r :: Double -> IO a -> IO (Maybe a) Source #

Variant of timeout where time is given in fractional seconds.

recvPacketTimeout :: Transport t => Double -> t -> IO (Maybe Packet) Source #

Variant of recvPacket that implements an n second timeout.