Index: lib/src/delegating_stream_channel.dart |
diff --git a/lib/src/delegating_stream_channel.dart b/lib/src/delegating_stream_channel.dart |
index 9d6ad90fdca3d113c9317dd93dbfb757763a810e..4434cf62a0f041cb18ba058023cb5940308b0cfe 100644 |
--- a/lib/src/delegating_stream_channel.dart |
+++ b/lib/src/delegating_stream_channel.dart |
@@ -2,16 +2,20 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+import 'dart:async'; |
+ |
+import '../stream_channel.dart'; |
+ |
/// A simple delegating wrapper around [StreamChannel]. |
/// |
/// Subclasses can override individual methods, or use this to expose only |
/// [StreamChannel] methods. |
-class StreamChannelView<T> extends StreamChannelMixin<T> { |
+class DelegatingStreamChannel<T> extends StreamChannelMixin<T> { |
/// The inner channel to which methods are forwarded. |
final StreamChannel<T> _inner; |
Stream<T> get stream => _inner.stream; |
StreamSink<T> get sink => _inner.sink; |
- StreamChannelView(this._inner); |
+ DelegatingStreamChannel(this._inner); |
} |