starlette.response_async()

response as a coroutine, rendering with render_async.

Usage

Source

starlette.response_async(
    template_file, content_type="text/html", status_code=200, **template_data
)