| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.Front
Synopsis
- createTask :: Show a => Text -> (t -> Markup a) -> t -> ClientTask a
- emptyTask :: ClientTask a
Documentation
Arguments
| :: 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 #