Streaming templates where template data is retrieved asynchronously using generators