hosc-0.13: Haskell Open Sound Control

Safe HaskellSafe-Inferred

Sound.OpenSoundControl.Wait

Contents

Synopsis

Timeout

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

Real valued variant of timeout.

Wait

untilPredicate :: Monad m => (a -> Bool) -> m a -> m aSource

Repeat action until predicate f is True when applied to result.

untilMaybe :: Monad m => (a -> Maybe b) -> m a -> m bSource

Repeat action until f does not give Nothing when applied to result.