WaitForBridgeOptions interface

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

interface WaitForBridgeOptions

No documentation.

Properties

timeout

readonly timeout?: number;

Milliseconds to wait for the host Bridge to connect. Defaults to 5000.

signal

readonly signal?: AbortSignal | undefined;

Stops waiting when it aborts: the wait rejects with signal.reason, an AbortError DOMException unless abort(reason) gave another one. An already aborted signal rejects at once. The wait removes its abort listener when it settles.