From e8893cd08ac7996403150657cf34d1bbb38e345b Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Wed, 19 Apr 2023 09:55:56 -0700 Subject: [PATCH] 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. --- lib/src/client/common.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/client/common.dart b/lib/src/client/common.dart index 901ff1a..8a7d332 100644 --- a/lib/src/client/common.dart +++ b/lib/src/client/common.dart @@ -66,8 +66,7 @@ class ResponseFuture extends DelegatingFuture } /// A gRPC response producing a stream of values. -class ResponseStream extends DelegatingStream - with _ResponseMixin { +class ResponseStream extends StreamView with _ResponseMixin { @override final ClientCall _call;