1 write to _limiters
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\ChainedPartitionedRateLimiter.cs (1)
23
_limiters
= limiters;
7 references to _limiters
System.Threading.RateLimiting (7)
System\Threading\RateLimiting\ChainedPartitionedRateLimiter.cs (7)
33
foreach (PartitionedRateLimiter<TResource> limiter in
_limiters
)
59
for (int i = 0; i <
_limiters
.Length; i++)
65
lease =
_limiters
[i].AttemptAcquire(resource, permitCount);
71
RateLimitLease? notAcquiredLease = CommonAcquireLogic(exception, lease, ref leases, i,
_limiters
.Length);
85
for (int i = 0; i <
_limiters
.Length; i++)
91
lease = await
_limiters
[i].AcquireAsync(resource, permitCount, cancellationToken).ConfigureAwait(false);
97
RateLimitLease? notAcquiredLease = CommonAcquireLogic(exception, lease, ref leases, i,
_limiters
.Length);