1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-12-03 09:47:49 +01:00
Commit Graph

78 Commits

Author SHA1 Message Date
Aaron Piotrowski
1d7c9f0d5d Remove MemoryStream 2017-04-14 17:52:28 -05:00
Aaron Piotrowski
b0c9dcf839 wait() → advance() 2017-04-14 17:52:22 -05:00
Aaron Piotrowski
2d83001ca4 Keep string as default type 2017-04-14 09:20:28 -05:00
Aaron Piotrowski
9b77e29f62 Add travis config; update phpunit version 2017-04-13 18:31:40 -05:00
Aaron Piotrowski
39584ab47e Remove specific success value from write() and end() 2017-04-13 18:14:27 -05:00
Aaron Piotrowski
4ddca11779 Add Message tests 2017-04-13 09:05:37 -05:00
Aaron Piotrowski
7cc313a633 Drop extending Promise 2017-04-13 09:04:56 -05:00
Aaron Piotrowski
5e250f7c79 Refactor ReadableStream and Message 2017-04-12 00:43:48 -05:00
Aaron Piotrowski
9ad62cae84 Remove final from Message 2017-04-11 19:17:44 -05:00
Aaron Piotrowski
e0d770ff9a Refactor pipe()
Read in chunks instead of buffering
2017-04-11 19:12:25 -05:00
Aaron Piotrowski
c3dc509e5c Add readAll(); succeed delimiter-based reads on end 2017-04-10 23:58:24 -05:00
Aaron Piotrowski
f358b7a38b Add Message 2017-04-04 11:24:15 -05:00
Aaron Piotrowski
04a74eb31d Remove close() from stream interfaces 2017-04-04 11:19:52 -05:00
Aaron Piotrowski
07bd162882 Resolve unbounded read with empty string 2017-03-29 00:09:34 -05:00
Aaron Piotrowski
d29c100c9c Cleanup exceptions 2017-03-28 23:50:56 -05:00
Aaron Piotrowski
458e4c68fd Add MessageStream
Converts a Message object to a ReadableStream.
2017-03-28 23:45:26 -05:00
Aaron Piotrowski
858a76e675 Split into readable and writable stream 2017-03-23 18:38:15 -05:00
Aaron Piotrowski
4414c6bbe4 Update for async-interop merge and other Amp changes; changed namespace to ByteStream 2017-03-16 16:49:09 -05:00
Aaron Piotrowski
4c5b7f539b Formating fix 2017-01-09 10:53:42 -06:00
Aaron Piotrowski
1a047f3f78 Move internal functions to Internal namespace 2017-01-09 10:53:36 -06:00
Aaron Piotrowski
e72bc00605 Stream → ByteStream
Avoid confusion with Amp\Stream.
2017-01-09 10:52:29 -06:00
Aaron Piotrowski
772a5e3c7a Update for async-interop namespace change 2017-01-09 10:29:08 -06:00
Aaron Piotrowski
e258c7b50d Drop strict types 2016-12-29 23:09:06 -06:00
Aaron Piotrowski
32df68151a Awaitable → Promise 2016-11-14 15:05:19 -06:00
Aaron Piotrowski
6990d8675e Move strict types declaration 2016-08-18 11:00:38 -05:00
Aaron Piotrowski
20c4ddf5a7 Use strict types 2016-08-16 16:23:46 -05:00
Aaron Piotrowski
cbee269f22 PHP 7 only upgrade 2016-08-15 17:19:32 -05:00
Aaron Piotrowski
b1950f87f5 Initial commit 2016-08-10 16:52:25 -05:00