|
|
|
|
|
by uniqueuid
1441 days ago
|
|
I have used asyncio in anger quite a bit, and have to say that it seems elegant at first and works very well for some use cases. But when you try to do things that aren't a map-reduce or Pool.map() pattern, it suddenly becomes pretty warty. E.g. scheduling work out to a processpool executor is ugly under the hood and IMO ugly syntactically as well. |
|
Are you talking about this example? https://docs.python.org/3/library/asyncio-eventloop.html#asy...