Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add JSRemote support for JSClass and async bodies#747

Draft
kateinoigakukun wants to merge 2 commits into
mainfrom
yt/support-jsclass-in-jsremote
Draft

Add JSRemote support for JSClass and async bodies#747
kateinoigakukun wants to merge 2 commits into
mainfrom
yt/support-jsclass-in-jsremote

Conversation

@kateinoigakukun
Copy link
Copy Markdown
Member

@kateinoigakukun kateinoigakukun commented May 16, 2026

Summary

  • Add JSRemote convenience APIs for @JSClass bridged objects.
  • Add an async withJSObject body overload so remote JS object access can await promises on the owning thread.
  • Keep sync and async remote invocation storage separate, preserve worker executor affinity where available, and hide async body APIs for Embedded multithreaded builds.
  • Add worker-to-main and main-to-worker tests covering async remote bodies that await JavaScript promises.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant