11 references to AcquireAsync
Microsoft.AspNetCore.ConcurrencyLimiter (1)
QueuePolicies\BasePolicy.cs (1)
55
var task = _limiter.
AcquireAsync
();
Microsoft.AspNetCore.RateLimiting.Tests (1)
TestPartitionedRateLimiter.cs (1)
69
leases.Add(await limiter.
AcquireAsync
());
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\ConcurrencyLimiterOptions.cs (1)
18
/// Determines the behaviour of <see cref="RateLimiter.
AcquireAsync
"/> when not enough resources can be leased.
System\Threading\RateLimiting\DefaultPartitionedRateLimiter.cs (1)
84
return GetRateLimiter(resource).
AcquireAsync
(permitCount, cancellationToken);
System\Threading\RateLimiting\FixedWindowRateLimiterOptions.cs (1)
33
/// Determines the behaviour of <see cref="RateLimiter.
AcquireAsync
"/> when not enough resources can be leased.
System\Threading\RateLimiting\QueueProcessingOrder.cs (3)
7
/// Controls the behavior of <see cref="RateLimiter.
AcquireAsync
"/> when not enough resources can be leased.
12
/// Lease the oldest queued <see cref="RateLimiter.
AcquireAsync
"/> call.
16
/// Lease the newest queued <see cref="RateLimiter.
AcquireAsync
"/> call.
System\Threading\RateLimiting\RateLimiter.cs (1)
80
/// Method that <see cref="RateLimiter"/> implementations implement for <see cref="
AcquireAsync
"/>.
System\Threading\RateLimiting\SlidingWindowRateLimiterOptions.cs (1)
39
/// Determines the behaviour of <see cref="RateLimiter.
AcquireAsync
"/> when not enough resources can be leased.
System\Threading\RateLimiting\TokenBucketRateLimiterOptions.cs (1)
39
/// Determines the behaviour of <see cref="RateLimiter.
AcquireAsync
"/> when not enough resources can be leased.