Sisk

Method

HttpRequestEventSource.WaitForFailAsync

Namespace
Sisk.Core.Http.Streams
Assembly
Sisk.Core.dll

WaitForFailAsync(TimeSpan) #

Asynchronously waits for the event source to fail or reach the specified idle tolerance.

C#
public Task WaitForFailAsync(TimeSpan maximumIdleTolerance)

Parameters #

maximumIdleTolerance TimeSpan

The 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.

C#
public Task WaitForFailAsync(CancellationToken cancellation)

Parameters #

cancellation CancellationToken

A token to cancel the wait operation.

Returns #

Task

A task that completes when the event source fails or is canceled.

Type to search the documentation and the API reference.