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

Unified Diff: sdk/lib/async/stream.dart

Issue 14051005: Remove deprecated CollectionSink and Stream.pipeInto. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « sdk/lib/async/collection_sink.dart ('k') | tests/lib/async/stream_controller_async_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream.dart
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart
index 04cecc61c17cca0edbe68286354c50b42b9b2890..63c5b9f4b53ca02dc78ae6b4dfab00ed286d78ac 100644
--- a/sdk/lib/async/stream.dart
+++ b/sdk/lib/async/stream.dart
@@ -310,23 +310,6 @@ abstract class Stream<T> {
return result;
}
- // Deprecated method, previously called 'pipe', retained for compatibility.
- Future pipeInto(EventSink<T> sink,
- {void onError(AsyncError error),
- bool unsubscribeOnError}) {
- _FutureImpl<T> result = new _FutureImpl<T>();
- this.listen(
- sink.add,
- onError: sink.addError,
- onDone: () {
- sink.close();
- result._setValue(null);
- },
- unsubscribeOnError: unsubscribeOnError);
- return result;
- }
-
-
/**
* Checks whether [match] occurs in the elements provided by this stream.
*
« no previous file with comments | « sdk/lib/async/collection_sink.dart ('k') | tests/lib/async/stream_controller_async_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698