Aug-12-2018, 10:48 AM
I'm not an expert in asyncio, however I believe that the add_reader allows you to set up an event that is triggered when data is received, rather than waiting for it to happen. See: 19.5.1.21.3. Watch a file descriptor for read events