commit | 7db0ec0b31b7d63c958dd3488ac99b46c2d3bead | [log] [tgz] |
---|---|---|
author | Keerti Parthasarathy <keertip@google.com> | Thu Aug 18 16:11:56 2016 -0700 |
committer | Keerti Parthasarathy <keertip@google.com> | Thu Aug 18 16:11:56 2016 -0700 |
tree | e067bd09747a429d8e144694ab59242d673985a7 | |
parent | c230c8128dc6f178743a917136461041036b4157 [diff] |
fix strong mode errors for 1.19.0-dev.4.0 BUG= R=jmesserly@google.com, leafp@google.com, nweiz@google.com Review URL: https://codereview.chromium.org//2250513003 . Committed: https://github.com/dart-lang/async/commit/c230c8128dc6f178743a917136461041036b4157
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.