-
Notifications
You must be signed in to change notification settings - Fork 24
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
Change "global monotonic clock" to "shared" and expose new algorithm "unsafe shared current time" #107
Conversation
"global" is a term already used to describe the global object, while this monotonic clock is shared across globals (e.g. workers and the window). Also expose "current universal time", for use by Fetch. See whatwg/fetch#1185
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.
LGTM, but I want to get more eyes on this to make sure I'm not missing anything.
Also, we want to make sure that "global monotonic clock" is not being used outside of this spec.
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.
Does this fix #99?
Seems like it does! Will update the description. |
Thanks for doing this!! :) |
"global" is a term already used to describe the global
object, while this monotonic clock is shared across globals
(e.g. workers and the window).
Also expose "unsafe shared current time", for use by Fetch.
See whatwg/fetch#1185
Closes #99
Preview | Diff