Short question:
Is there example code anywhere for getting bonsai to work with xmlHttpRequest ?
Detailed question:
- I’ve checked the github repo:
rg -i xmlhttp -l
bindings/dygraph/dist/dygraph.js
bindings/dygraph/dist/dygraph.min.js
not much there.
-
On my own, I have code that does xmlHttpRequest, with a return type of
Bar.t Deferred.t(Deferred here referring to janestreet/async). -
It is not clear to me how to integrate this Deferred.t with my existing Bonsai app.
Either of the following would be helpful:
4a. Example of bonsai + xmlhttprequest
4b. Example of bonsai + Bar.t Deferred.t
Thanks!