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

Webworkers cannot handle includes #161

Open
ForrestFire0 opened this issue Aug 9, 2024 · 0 comments
Open

Webworkers cannot handle includes #161

ForrestFire0 opened this issue Aug 9, 2024 · 0 comments

Comments

@ForrestFire0
Copy link

When the config variable is sent to the WebWorker, functions cannot be sent. There is an explicit work around using this.hooks for stdio.write, so that the write function still exists mainthread side.

However, the load function on custom includes is not saved as a hook and therefore the postMessage to the webworker does not work.

Unfortunate... our target audience has code that is sleeping a lot. So running on the main thread is not good :(

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