|wait||Pauses the program for the amount of time (in milliseconds) given as the parameter.|
|now||Gives the number of milliseconds that has passed since the program began running.|
|timerState||Holds the state for the every functions|
|state||Creates a new timerState|
|every||Produces a signal of millisecond time stamps which fires in a time delay of the given interval.|
Produces a signal of millisecond time stamps which fires in a time delay of the given interval.
(uint32, timerState ref) -> sig<uint32>
|interval : uint32||The interval between values firing|
|state : timerState ref||Holds the last time that the signal fired|
A signal of timestamps which carries a value every interval milliseconds.