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

[web] Run in web worker #2

Open
olanod opened this issue Nov 12, 2020 · 1 comment
Open

[web] Run in web worker #2

olanod opened this issue Nov 12, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@olanod
Copy link
Member

olanod commented Nov 12, 2020

valor.js(the runtime, not the plugins) can be loaded and run in the main thread of the browser but should also be able to run when loaded as a Worker.

@olanod olanod added enhancement New feature or request good first issue Good for newcomers labels Nov 12, 2020
@olanod
Copy link
Member Author

olanod commented Dec 21, 2020

Main offender is using window directly. Here is an example on how to get the global scope in a worker/window independent way.

@olanod olanod added this to the v1.0 milestone May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant