BridgeOperationWaitOptions interface

Module @runic-artifex/views in @runic-artifex/views 0.23.0

interface BridgeOperationWaitOptions

No documentation.

Properties

timeout

readonly timeout?: number;

Milliseconds to wait for the terminal status. When it passes, the client sends a cancellation request and resolves to a timed-out status.

signal

readonly signal?: AbortSignal | undefined;

Abandons this wait when it aborts: the call rejects with signal.reason, an AbortError DOMException unless abort(reason) gave another one. Unlike timeout, it sends no cancellation request; the operation keeps running and other waits are unaffected. Call cancel() to stop it. An already aborted signal rejects at once; the wait removes its abort listener when it settles.