Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Commit

Permalink
Merge pull request #2295 from jonnii/patch-1
Browse files Browse the repository at this point in the history
Remove references to sync queue
  • Loading branch information
Jen Weber authored Apr 15, 2018
2 parents 3db13b2 + cbea708 commit 5bf2857
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/applications/run-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,13 @@ What are the queues, and what is their priority order?

```javascript
Ember.run.queues
// => ["sync", "actions", "routerTransitions", "render", "afterRender", "destroy"]
// => ["actions", "routerTransitions", "render", "afterRender", "destroy"]
```

Because the priority is first to last, the "sync" queue has higher priority than the "render" or "destroy" queue.
Because the priority is first to last, the "actions" queue has higher priority than the "render" or "destroy" queue.

## What happens in these queues?

* The `sync` queue contains binding synchronization jobs.
* The `actions` queue is the general work queue and will typically contain scheduled tasks e.g. promises.
* The `routerTransitions` queue contains transition jobs in the router.
* The `render` queue contains jobs meant for rendering, these will typically update the DOM.
Expand Down

0 comments on commit 5bf2857

Please sign in to comment.