-
Notifications
You must be signed in to change notification settings - Fork 49
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
New principle: Where possible APIs should be available in DedicatedWorker #356
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this advice be made more generic to cover all types of workers?
I suspect folks also might want guidance around worklets and Exposed=*
.
index.bs
Outdated
A DedicatedWorker is a non specialized worker type that allows developers to run code | ||
off the main thread. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can just reference back to DedicatedWorker and not explain this ourselves.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But then devs will have to open multiple links, maybe do both?
@annevk if you have suggestions, please share. I think we want to land something now and then fix in follow ups as we get consensus |
Co-authored-by: Sangwhan "fish" Moon <[email protected]>
I filed #359 as a follow-up. I'm a bit surprised this was just landed without some more time for back-and-forth discussion. At least in the past updates to this document were done quite carefully. |
…rker (#356) * New principle: Where possible APIs should be made available in DedicatedWorker * Remove description of dedicated worker Co-authored-by: Sangwhan "fish" Moon <[email protected]>
Closes #325
Preview | Diff