Method WaitForFailAsync
WaitForFailAsync(TimeSpan)
Asynchronously waits for the event source to fail or reach the specified idle tolerance.
public Task WaitForFailAsync(TimeSpan maximumIdleTolerance)
Parameters
maximumIdleToleranceTimeSpanThe maximum time to wait before considering the event source failed.
Returns
- Task
A task that completes when the event source fails or the idle tolerance is reached.
WaitForFailAsync(CancellationToken)
Asynchronously waits for the event source to fail or be canceled.
public Task WaitForFailAsync(CancellationToken cancellation)
Parameters
cancellationCancellationTokenA token to cancel the wait operation.
Returns
- Task
A task that completes when the event source fails or is canceled.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語