Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Conversation

@kriskowal
Copy link

For some reason, using runInNewContext occludes the worker object, which it would be handy to be able to pass to an API for standard message passing setup.

I've also added a trivial example.

I would like to see the worker run as a module so relative module identifiers can be used inside the worker, relative to the worker file instead of the webworker-child module. This might require node to expose more of its module system primitives though.

…ould not be separated by contexts. The wrapped context limits the ability to pass the global worker object as an argument and for primordials to be shared between the require context and the worker context.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants