When a Tornado template renders, it does not wait for promises to resolve before returning. In most cases this is an advantage, in that the developer doesn't have to track each promise individually and update the UI as each promise resolves. However, Tornado doesn't have a way of informing the developer that all promises have resolved and the template is fully rendered in its final state.
When a Tornado template renders, it does not wait for promises to resolve before returning. In most cases this is an advantage, in that the developer doesn't have to track each promise individually and update the UI as each promise resolves. However, Tornado doesn't have a way of informing the developer that all promises have resolved and the template is fully rendered in its final state.