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