Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Native Example #75

Open
idkjs opened this issue Jul 20, 2021 · 4 comments
Open

Native Example #75

idkjs opened this issue Jul 20, 2021 · 4 comments

Comments

@idkjs
Copy link

idkjs commented Jul 20, 2021

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

Thanks

@aantron
Copy link
Owner

aantron commented Jul 20, 2021

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

@idkjs
Copy link
Author

idkjs commented Jul 20, 2021

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

@aantron
Copy link
Owner

aantron commented Jul 20, 2021

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.

@idkjs
Copy link
Author

idkjs commented Jul 20, 2021

Need a Dream example using Js and Native promise.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants