litestar.render_async()

render as a coroutine: the template’s render_async, which awaits awaitable

Usage

Source

litestar.render_async(
    template_file,
    **template_data,
)

values where the template uses them (see PageTemplate.render_async).