|author||Natalie Weizenbaum <email@example.com>||Thu Jul 09 00:52:44 2015|
|committer||Natalie Weizenbaum <firstname.lastname@example.org>||Thu Jul 09 00:52:44 2015|
Add an [immediate] argument to StreamQueue.cancel. Canceling the subscription immediately is useful for situations where the normal flow of a program is interrupted, for example by a signal on the command-line. Remail@example.com Review URL: https://codereview.chromium.org//1221713005 .
Contains tools to work with asynchronous computations.
The package contains
Future related functionality, as well as sub-libraries with different utilities.
The “stream_zip.dart” sub-library contains functionality to combine several streams of events into a single stream of tuples of events.
The “result.dart” sub-library 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.
This package is unrelated to the discontinued
async package with version 0.1.7.
Please file feature requests and bugs at the issue tracker.