I want to have event listeners or reactive streams in ReasonML, where I can push typed things into them from javascript.
For example:
- We have a list of operations in javascript
- We append to that list regularly
- I want various ReasonReact components to subscribe to and process every new operation
Is there a best practice for this?