-
Notifications
You must be signed in to change notification settings - Fork 20
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
Shared workers #39
Comments
Yeah, I don’t think that will work, as every Module Block is unique. So it would effectively always refer to a different module. |
I would love for this to be a thing. If the normal
What about May I ask, do you oppose the idea, or do you just don't think is too complicated? I think that the #45 is a possible solution to this. |
Can a module block be used to instantiate a shared worker?
My gut feeling is 'no', since the only way two pages could share a shared worker is by sharing the module via
postMessage
. That also means that two origins could end up sharing the same worker which is new and terrifying 😄.The text was updated successfully, but these errors were encountered: