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

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

Issue 203603008: Introduce class Sink<T>. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
Index: sdk/lib/async/stream.dart
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart
index 499386c47b89e415d8942fae26b510cd39ef69ee..4b29de8c0a6f842b926557b54f5f9eb7b23e961a 100644
--- a/sdk/lib/async/stream.dart
+++ b/sdk/lib/async/stream.dart
@@ -1236,7 +1236,7 @@ abstract class StreamSubscription<T> {
/**
* An interface that abstracts creation or handling of [Stream] events.
*/
-abstract class EventSink<T> {
+abstract class EventSink<T> implements Sink<T> {
/** Create a data event */
void add(T event);
/** Create an async error. */

Powered by Google App Engine
This is Rietveld 408576698