Tag: nunjucks
A Deep Dive into Asynchronous Templating
December 4, 2013
I wrote a JavaScript engine called Nunjucks, and it recently reached 1.0. One the new features is asynchronous templating, which lets you use async APIs inside custom filters and extensions. I'll show you how I implemented it, allowing templates to be paused when rendering and resumed later.