| OLD | NEW |
| 1 # Async utilities package | 1 Contains utility classes in the style of `dart:async` to work with asynchronous |
| 2 | 2 computations. |
| 3 Contains tools to work with asynchronous computations. | |
| 4 | |
| 5 The package contains `Stream` and `Future` related functionality, | |
| 6 as well as sub-libraries with different utilities. | |
| 7 | 3 |
| 8 ### Zipping streams | 4 ### Zipping streams |
| 9 | 5 |
| 10 The "stream_zip.dart" sub-library contains functionality | 6 The `StreamZip` class can combine several streams of events into a single stream |
| 11 to combine several streams of events into a single stream of tuples of events. | 7 of tuples of events. |
| 12 | 8 |
| 13 ### Results | 9 ### Results |
| 14 The "result.dart" sub-library introduces a `Result` class that can hold either | |
| 15 a value or an error. | |
| 16 It allows capturing an asynchronous computation which can give either a value | |
| 17 or an error, into an asynchronous computation that always gives a `Result` | |
| 18 value, where errors can be treated as data. | |
| 19 It also allows releasing the `Result` back into an asynchronous computation. | |
| 20 | 10 |
| 21 ### History. | 11 The package introduces a `Result` class that can hold either a value or an |
| 22 This package is unrelated to the discontinued `async` package with version 0.1.7
. | 12 error. It allows capturing an asynchronous computation which can give either a |
| 23 | 13 value or an error, into an asynchronous computation that always gives a `Result` |
| 24 ## Features and bugs | 14 value, where errors can be treated as data. It also allows releasing the |
| 25 | 15 `Result` back into an asynchronous computation. |
| 26 Please file feature requests and bugs at the [issue tracker][tracker]. | |
| 27 | |
| 28 [tracker]: https://github.com/dart-lang/async/issues | |
| OLD | NEW |