Introduction to asyncio Module

This lesson discusses asyncio package, its components, and their significance.

We'll cover the following...

The asyncio module was added to Python in version 3.4 as a provisional package. What this means is it is possible that asyncio receives backwards incompatible changes or could even be removed in a future release of Python. According to the documentation, asyncio provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives”. This chapter is not meant to cover everything you can do with asyncio, however you ...