Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- createTask :: Show a => Text -> (t -> Markup a) -> t -> ClientTask a
- emptyTask :: ClientTask a
Documentation
:: Show a | |
=> Text | DOM Element Id. |
-> (t -> Markup a) | How to render state. |
-> t | State to render. |
-> ClientTask a | Message that will be pushed to client(s). |
Generate message that will be pushed to client(s) based on underlying communication.
emptyTask :: ClientTask a Source #