InitializeAsync Method
InitializeAsync(int)
Tries to initialize this semaphore instance with the specified number of permits.
Declaration
Task<bool> InitializeAsync(int permits = 1)
Parameters
int | permits | The number of permits. |
Returns
Task<bool> |
|