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

Pass TypedJsObject<JsGlobal> instead of Runtime in most of the functions #89

Open
playXE opened this issue Jul 10, 2021 · 0 comments
Open

Comments

@playXE
Copy link
Collaborator

playXE commented Jul 10, 2021

This should allow running JS code in the specific realm much easier. Also we probably want to define pub type JsGlobalObject = TypedJsObject<JsGlobal>. Inside JsGlobal we have to add RuntimRef so it is possible to access VM from the global object.

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

No branches or pull requests

1 participant