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

Support passing Closures (Callback Functions) between JS and AssemblyScript #17

Open
torch2424 opened this issue Jan 19, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@torch2424
Copy link
Owner

Thanks to @jayphelps for pointing this out! 😄

See there awesome explanation at: #12 (comment)

@trusktr
Copy link

trusktr commented Dec 3, 2020

Besides passing callbacks from JS to TS, the other way around would be useful. For example, then we could allow a user who is writing AS code to run things like requestAnimationFrame(someFunc) inside of AS to control an animation loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants