OLD | NEW |
(Empty) | |
| 1 # Async utilities package |
| 2 |
| 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 |
| 8 ### Zipping streams |
| 9 |
| 10 The "stream_zip.dart" sub-library contains functionality |
| 11 to combine several streams of events into a single stream of tuples of events. |
| 12 |
| 13 ### 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 |
| 21 ### History. |
| 22 This package is unrelated to the discontinued `async` package with version 0.1.7
. |
| 23 |
| 24 ## Features and bugs |
| 25 |
| 26 Please file feature requests and bugs at the [issue tracker][tracker]. |
| 27 |
| 28 [tracker]: https://github.com/dart-lang/async/issues |
OLD | NEW |