reactive-0.11.5: Push-pull functional reactive programming

Stabilityexperimental
Maintainerconal@conal.net

FRP.Reactive.Internal.Clock

Description

Serializing clocks

Thanks to Luke Palmer for help with this module.

Synopsis

Documentation

data Clock t Source

Waits a specified duration and then execute an action type Delay t = t -> forall a. IO a -> IO a

Waits until just after a specified time and then execute an action, passing in the actual time. type Schedule t = t -> Sink (Sink t)

A serializing clock. Can (a) produce a time and (b) serialize an action.

Constructors

Clock 

Fields

cGetTime :: IO t
 
cSerialize :: Serial
 

makeClock :: IO (Clock TimeT)Source

Make a clock