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

[FEATURE] async script apis like Sequence #5597

Open
commandblock2 opened this issue Feb 12, 2025 · 0 comments
Open

[FEATURE] async script apis like Sequence #5597

commandblock2 opened this issue Feb 12, 2025 · 0 comments
Labels
🔥 enhancement New feature or request

Comments

@commandblock2
Copy link
Contributor

Describe your feature request.

It is very nice to have js-like setInterval() in script api, we could maybe also add more apis that's compatible with async keywords as it is supported in graaljs. See https://www.graalvm.org/latest/reference-manual/js/JavaInteroperability/#using-await-with-java-objects, and https://github.com/oracle/graaljs/blob/1d6cca7a60da05b9bd70a4b838a9391dce21876f/graal-js/src/com.oracle.truffle.js.test/src/com/oracle/truffle/js/test/interop/AsyncInteropTest.java#L345 from discord by @MukjepScarlet .

Not sure what it should look like yet but we will try when we are available.

Additional context

No response

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

1 participant