We can schedule asyncio tasks in the event loop from done callback functions. Done callback functions are regular Python functions executed after a task is done. Because they are regular Python functions, they cannot await tasks or coroutines. Nevertheless, we can create and schedule new tasks from done callback functions, and this may require using […]
Published on April 14, 2024 12:00