Method | Description | |
---|---|---|
Add ( ) : void |
Increments the counter by 1
|
|
AsyncCountDown ( ) : System.Runtime.CompilerServices | ||
Remove ( ) : void |
Decrements the counter by 1
|
|
WaitUntilEmptyAsync ( CancellationToken cancellationToken ) : ValueTask |
Provides a way to execute a continuation when the counter reaches zero
|
Method | Description | |
---|---|---|
GetOrCreateTaskCompletionSource ( TaskCompletionSource &tcsOut ) : bool | ||
TryCompleteAwaitingTask ( ) : void |
public AsyncCountDown ( ) : System.Runtime.CompilerServices | ||
return | System.Runtime.CompilerServices |
public WaitUntilEmptyAsync ( CancellationToken cancellationToken ) : ValueTask | ||
cancellationToken | CancellationToken | |
return | ValueTask |