internal SmoothBurstyRateLimiter( IStopwatchProvider <long> stopwatchProvider, double maxBurstSeconds, IAsyncBlocker asyncBlocker) : base(stopwatchProvider, asyncBlocker) #else : base(stopwatchProvider)
internal SmoothWarmingUpRateLimiter( IStopwatchProvider <long> stopwatchProvider, TimeSpan warmupPeriod, double coldFactor, IAsyncBlocker asyncBlocker) : base(stopwatchProvider, asyncBlocker) #else : base(stopwatchProvider)
internal RateLimiterBase( IStopwatchProvider <long> stopwatchProvider, IAsyncBlocker asyncBlocker) { this.asyncBlocker = asyncBlocker ?? TaskDelayAsyncBlocker.Instance; #else { #endif this.stopwatchProvider = stopwatchProvider ?? throw new ArgumentNullException(nameof(stopwatchProvider)); }
internal SmoothRateLimiter(IStopwatchProvider <long> stopwatchProvider, IAsyncBlocker asyncBlocker) : base(stopwatchProvider, asyncBlocker) #else : base(stopwatchProvider)