promise icon indicating copy to clipboard operation
promise copied to clipboard

Native Example

Open idkjs opened this issue 2 years ago • 4 comments

Is there an example of this library being used in native?

Thanks

idkjs avatar Jul 20 '21 12:07 idkjs

If you mean a real example, I believe there is not.

aantron avatar Jul 20 '21 12:07 aantron

How about a toy? Its time we infect the ocaml side of things with some js, no?

idkjs avatar Jul 20 '21 14:07 idkjs

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.

aantron avatar Jul 20 '21 15:07 aantron

Need a Dream example using Js and Native promise.

idkjs avatar Jul 20 '21 17:07 idkjs