buster-2.51: Almost but not quite entirely unlike FRP

App.Widgets.Pacer

Description

Widgets for sending a heartbeat out onto the bus to be caught by other behaviours.

Synopsis

Documentation

paceMicrosecondsWidget :: Int -> String -> Widget [a]Source

paceMicrosecondsWidget timeout timername bus | | Send a heartbeat event out every timeout microseconds to the bus

paceMillisecondsWidget :: Int -> String -> Widget [a]Source

paceMillisecondsWidget timeout timername bus | | Send a heartbeat event out every timeout milliseconds to the bus

paceSecondsWidget :: Double -> String -> Widget [a]Source

paceSecondsWidget timeout timername bus | | Send a heartbeat event out every timeout seconds to the bus