OLD | NEW |
1 The `async` package will contain tools to work with asynchronous computations. | 1 The `async` package will contain tools to work with asynchronous computations. |
2 | 2 |
3 The package contains sub-libraries with different utilities. | 3 The package contains sub-libraries with different utilities. |
4 | 4 |
5 ### Zipping streams | 5 ### Zipping streams |
6 | 6 |
7 The "stream_zip.dart" sub-library contains functionality to combine several stre
ams | 7 The "stream_zip.dart" sub-library contains functionality |
8 of events into a single stream of tuples of events. | 8 to combine several streams of events into a single stream of tuples of events. |
| 9 |
| 10 ### Results |
| 11 The "result.dart" sub-library introduces a `Result` class that can hold either |
| 12 a value or an error. |
| 13 It allows capturing an asynchronous computation which can give either a value |
| 14 or an error, into an asynchronous computation that always gives a `Result` |
| 15 value, where errors can be treated as data. |
| 16 It also allows releasing the `Result` back into an asynchronous computation. |
9 | 17 |
10 ### History. | 18 ### History. |
11 This package is unrelated to the discontinued `async` package with version 0.1.7
. | 19 This package is unrelated to the discontinued `async` package with version 0.1.7
. |
OLD | NEW |