RetryOperationOptions interface

Namespace @runic-artifex/views-effect · @runic-artifex/views-effect 0.7.0-preview.5

interface RetryOperationOptions extends OperationOptions

No documentation.

Properties

requestId

readonly requestId: string;

The request ID passed to every attempt, so .NET runs the operation at most once.

retry

readonly retry?: Schedule.Schedule<unknown, ViewOperationError>;

Retries a start or observation that failed with ViewDisconnected, ViewBridgeTimeout or ViewOperationUncertain. Other failures, and an operation that reached a terminal status, are not retried.

while

readonly while?: (error: ViewOperationError) => boolean;

Further limits which of those failures are retried, for example to stop once a page is gone.