Skip to content

Commit

Permalink
Add haddock for runHeadlessApp
Browse files Browse the repository at this point in the history
  • Loading branch information
meditans committed Apr 30, 2020
1 parent b432a09 commit 3a6b598
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Reflex/Host/Headless.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ type MonadHeadlessApp t m =
, Adjustable t m
)

-- | Run a headless FRP network. Inside the action, you will most probably use
-- the capabilities provided by the 'TriggerEvent' and 'PerformEvent' type class
-- to interface the FRP network with the outside world. Useful for testing.
runHeadlessApp
:: (forall t m. MonadHeadlessApp t m => m (Event t ()))
-> IO ()
Expand Down

0 comments on commit 3a6b598

Please sign in to comment.