AwaitAsync Method
AwaitAsync(TimeSpan)
Waits until the latch has counted down to zero, or the specified timeout waiting time has expired.
Declaration
Task<bool> AwaitAsync(TimeSpan timeout)
Parameters
TimeSpan | timeout | The wait timeout. |
Returns
Task<bool> | Whether the count reached zero within the specified timeout waiting time. |