Skip to content

Glossary: LLMs in Production

asyncio.ensure_future

Also written: ensure_future

Starts a coroutine as a task. IdempotencyStore stores that task so a repeat request can wait for the same work.

Where the book teaches it

Related terms

Idempotency keyasyncio.shield