Other event loop solutions

We can define event loops as abstractions that ease up by using polling functions to monitor events. Internally, event loops make use of poller objects, taking away the responsibility of the programmer to control the tasks of addition, removal, and control of events. Some examples of applications that implement event loops in Python are as follows:

In this section, you have learned about the asyncio and aiohttp packages, which simplify the process of writing servers when using an event-driven approach, and we explained some uses cases related to file downloading in an asynchronous way. In the next section, we are going to introduce the Tornado framework for building asynchronous network applications.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset