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

Feature request: Support shared workers #12

Open
rationalthug opened this issue Jun 2, 2023 · 0 comments
Open

Feature request: Support shared workers #12

rationalthug opened this issue Jun 2, 2023 · 0 comments

Comments

@rationalthug
Copy link

rationalthug commented Jun 2, 2023

If you are open to it, I will go ahead and create a pull request-- I think it should be relatively straight forward after looking through the code in Canvas.tsx and render.ts.

For my own use case, shared workers support would be extremely helpful because an essential library already runs in a worker but needs to initiate communication with the worker that was passed to react-three-offscreen (which was, of course, invoked from the main thread.)

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