Description
The parameter permitCount is passed to both AttemptAcquire and AcquireAsync in the RateLimiter abstract base class that all rate limiters in this library are are implementing.
The definition for this paramater is as follows:
<param name="permitCount">Number of permits to try and acquire.</param>
(See for instance here: https://github.com/dotnet/runtime/blob/43a60c8ed073a4c6134facadd01c9c1c2643e41a/src/libraries/System.Threading.RateLimiting/src/System/Threading/RateLimiting/RateLimiter.cs#L60)
Yet, all the provided classes disregard this parameter value, as in here:
In some cases, a hard coded value of 1D is then passed on instead of the parameter, as in here:
Are there plans to solve this?
Also, If this is currently a known limitation of this library (fair), please provide a warning in the documentation.
Thanks.