AcquireAsync Method
AcquireAsync(int)
Acquires permits immediately, if enough are available, and returns immediately.
Declaration
Task AcquireAsync(int permits = 1)
Parameters
int | permits | The number of permits to acquire. |
Returns
Task |
Remarks
Reduces the number of available permits accordingly.