3 ms·
It’s a waste if you need coordination between the tasks though. Putting an async task aside and sending only dumb synchronous function calls that never wait is
by plonk 3y ago
It’s a waste if you need coordination between the tasks though. Putting an async task aside and sending only dumb synchronous function calls that never wait is more efficient than blocking a thread while it waits on another.
asyncio with an executor is a good way to run complex tasks in parallel.
- prometheon1 3y agoI'm not sure whether this was your intention, but I think you are in full agreement with the article.