| Copyright | (C) 2016-2018 David M. Johnson |
|---|---|
| License | BSD3-style (see the file LICENSE) |
| Maintainer | David M. Johnson <djohnson.m@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Miso.FFI.SSE
Description
Documentation
newtype EventSource Source #
Constructors
| EventSource JSVal |
new :: MisoString -> JSM EventSource Source #
addEventListener :: EventSource -> MisoString -> (JSVal -> JSM ()) -> JSM () Source #