Message222791
Hi,
Nor asyncio.Event.wait() neither asyncio.Condition.wait() (or .wait_for()) has a timeout parameter, while threading.Event.wait() has one.
A timeout can be specified for the whole task using asyncio.wait_for() but it's tricky.
I guess asyncio implementation could allow a timeout parameter (but I've not looked at the code yet). Maybe is this a feature ? |
|
Date |
User |
Action |
Args |
2014-07-11 20:23:50 | ajaborsk | set | recipients:
+ ajaborsk, gvanrossum, vstinner, yselivanov |
2014-07-11 20:23:50 | ajaborsk | set | messageid: <1405110230.82.0.890171299066.issue21962@psf.upfronthosting.co.za> |
2014-07-11 20:23:50 | ajaborsk | link | issue21962 messages |
2014-07-11 20:23:50 | ajaborsk | create | |
|