tag | a7c4fd446e92a97f5c3efb2984796135874197f2 | |
---|---|---|
tagger | Natalie Weizenbaum <nweiz@google.com> | Tue Mar 08 12:25:12 2016 -0800 |
object | 66843f16c9becf164229e72ec5e04b205332a5f9 |
Deprecate a bunch of stuff, add Result transformer constants.
commit | 66843f16c9becf164229e72ec5e04b205332a5f9 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Mar 08 12:24:15 2016 -0800 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue Mar 08 12:24:15 2016 -0800 |
tree | a80f36a60bb6872d0ca0f79b0670aaeca90a6966 | |
parent | 43463f7f421c0bb7ce10efa370522fa16395adc3 [diff] |
Modernize the package's style. This moves the package to new-style doc comments, deprecates separate top-level libraries, and removes library tags. It also deprecates some top-level classes in favor of static const fields. There's more that could be done, but this fixes most of the low-hanging fruit. R=lrn@google.com Review URL: https://codereview.chromium.org//1777453002 .
Contains utility classes in the style of dart:async
to work with asynchronous computations.
The StreamZip
class can combine several streams of events into a single stream of tuples of events.
The package introduces a Result
class that can hold either a value or an error. It allows capturing an asynchronous computation which can give either a value or an error, into an asynchronous computation that always gives a Result
value, where errors can be treated as data. It also allows releasing the Result
back into an asynchronous computation.