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

Use performance.now() to implement CLOCKID_MONOTONIC in browsers #24

Merged
merged 1 commit into from
May 20, 2023

Conversation

bjorn3
Copy link
Owner

@bjorn3 bjorn3 commented May 19, 2023

Outside of browsers it will fallback to returning 0 like was previously done unconditionally.

Fixes #23

Outside of browsers it will fallback to returning 0 like was previously
done unconditionally.
@bjorn3 bjorn3 merged commit d070896 into main May 20, 2023
@bjorn3 bjorn3 deleted the monotonic_time branch May 20, 2023 14:11
@bjorn3
Copy link
Owner Author

bjorn3 commented May 20, 2023

Released as 0.2.9.

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

Successfully merging this pull request may close these issues.

Use Performance.now instead of Date.now
1 participant