async def main(): q = asyncio.Queue() await q.put(1) await q.put(2) print(await q.get(), await q.get()) asyncio.run(main())