Working with Event Loops

  • Mohamed Mustapha Tahrioui


Python version 3.4 has adopted a powerful framework to support concurrent execution of code: asyncio. This framework uses event loops to orchestrate the callbacks and asynchronous tasks. Event loops live in the context of event loop policies—a concept singular to asyncio. The interplay among coroutines, event loops, and policies is illustrated in Figure 2-1.

Copyright information

© Mohamed Mustapha Tahrioui 2019

Authors and Affiliations

  • Mohamed Mustapha Tahrioui
    • 1
  1. 1.DarmstadtGermany

Personalised recommendations