Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Example of event-loop / promise integration #20

Open
tynopex opened this issue Mar 12, 2019 · 0 comments
Open

Example of event-loop / promise integration #20

tynopex opened this issue Mar 12, 2019 · 0 comments
Assignees

Comments

@tynopex
Copy link
Contributor

tynopex commented Mar 12, 2019

Create an example of using an embedding event-loop and how JS and the host can communicate. This should make use of Promises as they are a great tool for async embedding behavior. The example should stress (at least in words) that updates must always been on main thread and the embedding must synchronize.

(I have a work in progress that I'll put up in the next week)

@moztcampbell moztcampbell self-assigned this Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants