Re: Add timeout parameter to Synchronization Primitives in asyncio
20 Sep
2021
20 Sep
'21
6:32 a.m.
This is already supported with [`asyncio.wait_for()`]( https://docs.python.org/3/library/asyncio-task.html#asyncio.wait_for). For example: `await asyncio.wait_for(asyncio.Event().wait(), timeout=60)`
942
Age (days ago)
942
Last active (days ago)
0 comments
1 participants
participants (1)
-
Blue