interface BridgeConnectOptions Options of a generated connect<Name>() function.
Properties
timeout
readonly timeout?: number | undefined; Milliseconds to wait for the host Bridge to connect to .NET before the client rejects with a timeout BridgeError. Defaults to 5000.
signal
readonly signal?: AbortSignal | undefined; Abandons the connection when it aborts before the client is returned: the call rejects with signal.reason, an AbortError DOMException unless abort(reason) gave another one, and releases what it connected. An already aborted signal rejects at once. Aborting after the client was returned has no effect; the call removes its abort listeners when it settles.