async def METHOD_NAME() -> AsyncIterator[str]:
    async for chunk in template.generate_async(context):
        yield chunk
    await template_rendered.send_async(
        app, _sync_wrapper=app.ensure_async, template=template, context=context
    )