smfoote / tornado

HTML templates with asynchronous rendering, built with JavaScript.
http://smfoote.github.io/tornado/
Apache License 2.0
8 stars 3 forks source link

A rendered template should have an "all done" promise #131

Open smfoote opened 9 years ago

smfoote commented 9 years ago

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.