Python Schoolby trefilov
Шаг 1 из 4+140 XP

asyncio.Queue

Producer/consumer без блокировок.

Queue

q = asyncio.Queue()
await q.put(1)
x = await q.get()