27 Mar
2014
27 Mar
'14
11:24 p.m.
2014-03-27 22:52 GMT+01:00 Josiah Carlson
* Because it is example docs, maybe a multi-week bikeshedding discussion about API doesn't need to happen (as long as "read line", "read X bytes", "read what is available", and "write this data" - all with timeouts - are shown, people can build everything else they want/need)
I don't understand this point. Using asyncio, you can read and write a single byte or a whole line. Using functions like asyncio.wait_for(), it's easy to add a timeout on such operation. Victor