-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This moves the package to new-style doc comments, deprecates separate top-level libraries, and removes library tags. It also deprecates some top-level classes in favor of static const fields. There's more that could be done, but this fixes most of the low-hanging fruit. R=lrn@google.com Review URL: https://codereview.chromium.org//1777453002 .
- Loading branch information
Showing
41 changed files
with
513 additions
and
449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,15 @@ | ||
# Async utilities package | ||
|
||
Contains tools to work with asynchronous computations. | ||
|
||
The package contains `Stream` and `Future` related functionality, | ||
as well as sub-libraries with different utilities. | ||
Contains utility classes in the style of `dart:async` to work with asynchronous | ||
computations. | ||
|
||
### Zipping streams | ||
|
||
The "stream_zip.dart" sub-library contains functionality | ||
to combine several streams of events into a single stream of tuples of events. | ||
The `StreamZip` class can combine several streams of events into a single stream | ||
of tuples of events. | ||
|
||
### Results | ||
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. | ||
|
||
### History. | ||
This package is unrelated to the discontinued `async` package with version 0.1.7. | ||
|
||
## Features and bugs | ||
|
||
Please file feature requests and bugs at the [issue tracker][tracker]. | ||
|
||
[tracker]: https://github.com/dart-lang/async/issues | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.