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. |
* |