|
| FRP.Reactive.LegacyAdapters | | Stability | experimental | | Maintainer | conal@conal.net |
|
|
|
| Description |
| Tools for making Reactive adapters for imperative ("legacy")
libraries.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| Value consumer
|
|
|
| Convenient alias for dropping parentheses.
|
|
|
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.
|
|
|
|
| Make a clock, given a way to delay actions. For instance, the delay
could be sleepThen in thread-safe situations, but could also
involve a GUI toolkit wake-up event.
|
|
|
|
|
| Execute an action-valued event.
|
|
|
| Make a new event and a sink that writes to it. Uses the given
clock to serialize and time-stamp.
|
|
|
| Make an action to be executed regularly, given a time-source and a
action-behavior. The generated action is optimized to do almost no
work during known-constant phases of the given behavior.
|
|
| Produced by Haddock version 2.3.0 |