Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit a459eca

Browse files
keertipnshahan
authored andcommitted
Update usages of implements StreamTransformer to extends StreamTransformerBase as part of the Dart 2.0 core lib changes.
More details at https://gist.github.com/lrhn/b99fe5f73a10b3b1a91579853056d08b#streamtransformers-t PiperOrigin-RevId: 185409295
1 parent 7f80f06 commit a459eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/utils/async/rate_limit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class _RateLimitSink implements EventSink {
4343

4444
/// A [StreamTransformer] to rate-limit streams with a given
4545
/// [RateLimitStrategy] and [Duration].
46-
class RateLimitTransformer<S, T> implements StreamTransformer<S, T> {
46+
class RateLimitTransformer<S, T> extends StreamTransformerBase<S, T> {
4747
final Duration _duration;
4848
final RateLimitStrategy _rateLimitStrategy;
4949

0 commit comments

Comments
 (0)