Open idkjs opened 3 years ago
If you mean a real example, I believe there is not.
How about a toy? Its time we infect the ocaml side of things with some js, no?
There is an absolutely trivial example here: https://github.com/aantron/promise-example-esy.
To get this used on the native side, we'd need to make it run with Lwt, probably. There is a version of that here: https://github.com/aantron/repromise_lwt.
Need a Dream example using Js and Native promise.
Is there an example of this library being used in native?
Thanks