commit | e52a3bebb351cdea30b71c81eb73ada223b84d7a | [log] [tgz] |
---|---|---|
author | Matan Lurey <matanlurey@users.noreply.github.com> | Thu Jan 05 14:32:11 2017 -0500 |
committer | GitHub <noreply@github.com> | Thu Jan 05 14:32:11 2017 -0500 |
tree | ce64f267e58efb2f58f155240e6908ae06f8ce9a | |
parent | 302cafcf0a864f1db1399db75043f165081e5cbb [diff] |
Additional strong-mode fixes (down to 0 after this PR) (#13) * Additional strong-mode fixes * Revert infererred types
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.