RateLimitStrategy<T> typedef

RateLimitStrategy<T> = UnaryFunction<T> Function(UnaryFunction<T> delegate, Duration duration)

A function that rate-limits a delegate function. Helper typedef for consumers.

Implementation

typedef RateLimitStrategy<T> = UnaryFunction<T> Function(
    UnaryFunction<T> delegate, Duration duration);