Template.render_async#

async Template.render_async(*args, **kwargs)#

This works similar to render() but returns a coroutine that when awaited returns the entire rendered template string. This requires the async feature to be enabled.

Example usage:

await template.render_async(knights='that say nih; asynchronously')
Parameters:
Return type:

str