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

Are high priority messages queued or dropped? #2

Closed
dotnetCarpenter opened this issue Dec 6, 2018 · 3 comments
Closed

Are high priority messages queued or dropped? #2

dotnetCarpenter opened this issue Dec 6, 2018 · 3 comments

Comments

@dotnetCarpenter
Copy link

Hi. I just saw the presentation at https://youtu.be/mDdgfyRB5kg and are confused to what happens when multiple high priority messages are dispatched. Are they queued or dropped?

For touch events, the input rate can be extremely high and we might only need the latest position. Is this handled by this proposal?

@spanicker
Copy link
Collaborator

Sorry for the delay.
Posted tasks are never dropped, and will be queued.
Regarding input, this proposal does not change input handling and currently no changes are proposed to input event handlers.
Note that chrome coalesces continuous input sources (eg. mouse wheel) and aligns them before requestAnimationFrame.

@NE-SmallTown
Copy link

NE-SmallTown commented Jan 29, 2019

@spanicker

Note that chrome coalesces continuous input sources (eg. mouse wheel) and aligns them before requestAnimationFrame.

Could you give more details about this?

@shaseley
Copy link
Collaborator

shaseley commented Feb 1, 2020

Hi @NE-SmallTown: Apologies, this got lost in the shuffle. For more info, I found a chromestatus entry about this. It has links to a design doc and old discussion thread.

Closing this issue as the APIs we're pursuing have evolved a bit. Please feel free to file new issues against the recently updated explainers, in particular the postTask explaner.

@shaseley shaseley closed this as completed Feb 1, 2020
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

No branches or pull requests

4 participants