commit | 783a5f6bb3d2a11e5923fbd7fc47ec89dcc1824c | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Mar 29 17:57:24 2016 -0700 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue Mar 29 17:57:24 2016 -0700 |
tree | 81f7e26d18613f14ca2fb288532a15a67d091557 | |
parent | 66843f16c9becf164229e72ec5e04b205332a5f9 [diff] |
Fix most strong mode warnings. The remaining warnings will need type-asserting wrappers to fix, which are coming in a separate CL. R=lrn@google.com Review URL: https://codereview.chromium.org//1841223002 .
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.