commit | 113607aa099f295403e64b99923fe2d1a3fbe5d4 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Thu Jan 19 20:46:23 2017 |
committer | GitHub <noreply@github.com> | Thu Jan 19 20:46:23 2017 |
tree | 4e5c124d0468ff6f95e33011723a81ddca0b268e | |
parent | a9e26918f2fc27a762c5100faf786b4238c2f86f [diff] |
Add a subscriptionTransformer() function. (#10)
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.