mirror of https://github.com/grpc/grpc-dart.git
Extend StreamView over DelegatingStream (#619)
The `StreamView` class from the SDK provides all the worthwhile behavior of `DelegatingStream` and the latter may soon be deprecated.
This commit is contained in:
parent
20bad4c410
commit
e8893cd08a
|
@ -66,8 +66,7 @@ class ResponseFuture<R> extends DelegatingFuture<R>
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A gRPC response producing a stream of values.
|
/// A gRPC response producing a stream of values.
|
||||||
class ResponseStream<R> extends DelegatingStream<R>
|
class ResponseStream<R> extends StreamView<R> with _ResponseMixin<dynamic, R> {
|
||||||
with _ResponseMixin<dynamic, R> {
|
|
||||||
@override
|
@override
|
||||||
final ClientCall<dynamic, R> _call;
|
final ClientCall<dynamic, R> _call;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue