Skip to content

Commit

Permalink
Add a task queue and use it for scheduling.
Browse files Browse the repository at this point in the history
This adds a parallel task queue and uses it to schedule all events,
rather than using "in parallel" a lot. This makes it easier to reason
about the ordering of events.

In addition it makes all events happens as part of a task. This seems
likely to match implementations where events will presumably be
triggered from event listeners rather than synchronously as in the
spec at present. It also means that we don't need the event
suppression hack to ensure that navigation commands return before
related events are emitted.
  • Loading branch information
jgraham committed Sep 23, 2021
1 parent 3e619f5 commit 263dbbc
Showing 1 changed file with 211 additions and 174 deletions.
Loading

0 comments on commit 263dbbc

Please sign in to comment.