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

Clarify ControlFlow::Poll doc for web #1725

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

alvinhochun
Copy link
Contributor

Make it clear that ControlFlow::Poll causing events to be sent on requestAnimationFrame is an implementation detail which should not be relied on.

Rationale:
The exact behaviour of ControlFlow::Poll had already been changed once in #1690, and it might be changed again in the future. It also does not expose the timestamp obtained from the requestAnimationFrame callback so it is not very useful to users who actually want to do rendering from requestAnimationFrame (#1697).

  • cargo doc builds successfully

cc @ryanisaacg

Make it clear that ControlFlow::Poll causing events to be sent on
`requestAnimationFrame` is an implementation detail which should not be
relied on.
@ryanisaacg ryanisaacg merged commit 9d6b979 into rust-windowing:master Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants