reflex-0.8.1.0: Higher-order Functional Reactive Programming

Safe HaskellNone
LanguageHaskell2010

Reflex.Host.Headless

Synopsis

Documentation

runHeadlessApp Source #

Arguments

:: (forall t m. MonadHeadlessApp t m => m (Event t ()))

The action to be run in the headless FRP network. The FRP network is closed at the first occurrence of the resulting Event.

-> IO () 

Run a headless FRP network. Inside the action, you will most probably use the capabilities provided by the TriggerEvent and PerformEvent type classes to interface the FRP network with the outside world. Useful for testing. Each headless network runs on its own spider timeline.