commit | 2104d0d1f16543a7b35c137428a487c1f3a474d3 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nex342@gmail.com> | Tue Jan 10 23:24:35 2017 -0800 |
committer | Natalie Weizenbaum <nex342@gmail.com> | Wed Jan 11 16:30:42 2017 -0800 |
tree | 2f4b3cadc38e5ea819cbd7a37d84497eebf4f97a | |
parent | 1740e9ca11dd24d094cf01ff61fa8270c045456b [diff] |
Add StreamQueue.cancelable().
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.