Template.make_module_async#

async Template.make_module_async(vars=None, shared=False, locals=None)#

As template module creation can invoke template code for asynchronous executions this method must be used instead of the normal make_module() one. Likewise the module attribute becomes unavailable in async mode.

Parameters:
Return type:

TemplateModule