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:
Nate Bosch 2023-04-19 09:55:56 -07:00 committed by GitHub
parent 20bad4c410
commit e8893cd08a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -66,8 +66,7 @@ class ResponseFuture<R> extends DelegatingFuture<R>
}
/// A gRPC response producing a stream of values.
class ResponseStream<R> extends DelegatingStream<R>
with _ResponseMixin<dynamic, R> {
class ResponseStream<R> extends StreamView<R> with _ResponseMixin<dynamic, R> {
@override
final ClientCall<dynamic, R> _call;