WaitAsync(TKey, int, CancellationToken)

public async Task<bool> WaitAsync(TKey key, int millisecondsTimeout, CancellationToken cancellationToken)
Returns:
Task<bool>

Parameters

key TKey
millisecondsTimeout int
cancellationToken CancellationToken

WaitAsync(TKey, CancellationToken)

public Task WaitAsync(TKey key, CancellationToken cancellationToken)
Returns:
Task

Parameters

key TKey
cancellationToken CancellationToken
In this article