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

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

Issue 16240008: Make StreamController be a StreamSink, not just an EventSink. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | sdk/lib/async/stream_controller.dart » ('j') | sdk/lib/async/stream_controller.dart » ('J')
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 43697ecc4ff4bd220422cddf605f09d3d0a869bd..d9a0a8fda91f426568a680b2993adcd9b294db2a 100644
--- a/sdk/lib/async/stream.dart
+++ b/sdk/lib/async/stream.dart
@@ -920,19 +920,6 @@ class StreamView<T> extends Stream<T> {
}
}
-/**
- * [EventSink] wrapper that only exposes the [EventSink] interface.
- */
-class _EventSinkView<T> extends EventSink<T> {
- final EventSink<T> _sink;
-
- _EventSinkView(this._sink);
-
- void add(T value) { _sink.add(value); }
- void addError(error) { _sink.addError(error); }
- void close() { _sink.close(); }
-}
-
/**
* The target of a [Stream.pipe] call.
« no previous file with comments | « no previous file | sdk/lib/async/stream_controller.dart » ('j') | sdk/lib/async/stream_controller.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698