Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Mohamed Mustapha Tahrioui
About this chapter
Cite this chapter
Tahrioui, M.M. (2019). Working with Event Loops. In: asyncio Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4401-2_2
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4401-2_2
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4400-5
Online ISBN: 978-1-4842-4401-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)