commit | 1740e9ca11dd24d094cf01ff61fa8270c045456b | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nex342@gmail.com> | Tue Jan 10 23:24:18 2017 -0800 |
committer | Natalie Weizenbaum <nex342@gmail.com> | Wed Jan 11 16:30:42 2017 -0800 |
tree | 1b0d7ad239f67c6013c704e8e4ea2b6c69bbe228 | |
parent | 20562266cc594712b0b988de3d3cb0628830ab87 [diff] |
Add StreamQueue.withTransaction().
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.