Skip to content

Glossary: LLMs in Production

asyncio.sleep

Waits for a number of seconds without blocking other tasks. Use it instead of time.sleep in async code.

Where the book teaches it

Related terms

asyncioEvent loop