EmberJS - Asynchronous Routing



The Ember.js router has ability to handle complex async logic within an application by using asynchronous routing.

The table given below shows the different types of handling asynchronous logic in the router −

S.No. Async Routers & Description
1 The Router Pauses for Promises

The transition can be paused by returning a promise from the model hook.

2 When Promises Reject

The transition will be aborted if a promise is rejected by the model during a transition.

3 Recovering from Rejection

Recovering from the aborted transition.

emberjs_router.htm
Advertisements