Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(668)

Unified Diff: pkg/async/README.md

Issue 255123002: Add capture/release for results in package:async (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More tests. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/async/lib/async.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/async/README.md
diff --git a/pkg/async/README.md b/pkg/async/README.md
index dc34553bf8a2ac69fde5c5f3cc96bd4b9bbf8ee7..73a40f4418e2a0fc42ab6dacad8c07d8ac8388e4 100644
--- a/pkg/async/README.md
+++ b/pkg/async/README.md
@@ -4,8 +4,16 @@ The package contains sub-libraries with different utilities.
### 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 "stream_zip.dart" sub-library contains functionality
+to 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.
« no previous file with comments | « no previous file | pkg/async/lib/async.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698