commit | c230c8128dc6f178743a917136461041036b4157 | [log] [tgz] |
---|---|---|
author | Keerti Parthasarathy <keertip@google.com> | Thu Aug 18 11:02:59 2016 -0700 |
committer | Keerti Parthasarathy <keertip@google.com> | Thu Aug 18 11:02:59 2016 -0700 |
tree | 6c20e8e42c8965ee7425013806e669518d103a74 | |
parent | 3656b103d98c4aca0d01fc35d409892c8c1c8247 [diff] |
fix strong mode errors for 1.19.0-dev.4.0 BUG= R=jmesserly@google.com Review URL: https://codereview.chromium.org//2250513003 .
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.