LexiFi / ocaml-vdom

Elm architecture and (V)DOM for OCaml
MIT License
197 stars 13 forks source link

Support for event subscriptions #17

Closed leviroth closed 6 years ago

leviroth commented 6 years ago

I'm wondering if it's currently possible to subscribe to events, such as data received from websockets. In Elm, I believe this is accomplished by including a subscriptions function when creating the app, but there doesn't appear to be an equivalent argument in ocaml-vdom's Vdom.app.

leviroth commented 6 years ago

After poking around some more, it looks like I was looking for Vdom_blit.process.