In this lesson, you’ll learn about the Event Loop. You’ll see what it is and how to define one. The Event Loop is used to:
- perform IO tasks
- run asynchronous tasks
- run callbacks
In addition to learning about what it is, you’ll see how to change a normal main()
function into an event loop. You’ll see how to create numerous coroutines using Future
objects and gather()
. In the last section of the lesson, you’ll see an example demonstrating how using an asynchronous approach can make your code run faster.
dgoodson12722 on March 3, 2020
You are an awesome instructor with the gift of making asyncio seem easy! Please, do more videos like this, please!