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

SharedWorker support? #48

Open
jespertheend opened this issue Sep 20, 2021 · 1 comment
Open

SharedWorker support? #48

jespertheend opened this issue Sep 20, 2021 · 1 comment

Comments

@jespertheend
Copy link

I'd like to make use of this plugin but I'm using a SharedWorker
Not sure if SharedWorkers will need special treatment or if they can be taken care of with the existing logic.

@jespertheend
Copy link
Author

I just replaced all instances of new Worker with new SharedWorker in index.js and everything seems to be working as expected.
Implementing this for real will be a bit more difficult because it has to account for both Worker and SharedWorker at the same time.
I might be able to do a PR if you like.

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