{"push_id":2071139929,"size":1,"distinct_size":1,"ref":"refs/heads/develop","head":"73d76c6754dfd75e411e805c052bb637c11f6c15","before":"de9eaf388fcf153e397090f8249c38ef7a6bfd2e","commits":[{"sha":"73d76c6754dfd75e411e805c052bb637c11f6c15","author":{"name":"Ariel De Ocampo","email":"9281cc9b611338a2fbaf705b1dced952b540d1db@gmail.com"},"message":"New function: read_to_block\n\nTokio provides a function ``read_to_end`` that allows reading bytes from\nan I/O object. However, if ``read_to_end`` ever blocks before it reaches\nEOF, then the contents of the buffer is not returned (since an error is\nrturned instead).\n\n``read_to_block`` is a slight tweak to ``read_to_end``; by and large the\nbehaviour is mostly the same. However, if ``read_to_block`` ever blocks\nand it has already read some data, then whatever has been read so far is\nreturned. That is, ``read_to_block`` treats blocking as if it were an\neof, provided that some data has already been read. However, if no data\nhas yet been read, then ``read_to_block`` behaves the same as\n``read_to_end``, whereby Async::NotReady is returned. This means that\nwhatever is running read_to_block`s future will block until data is read\nfrom the associated I/O object.","distinct":true,"url":"https://api.github.com/repos/Siminau/siminau-rpc/commits/73d76c6754dfd75e411e805c052bb637c11f6c15"}]}
{"actor":{"display_login":"arielmakestuff"}}