PendingRPCOptions

View as MarkdownOpen in Claude

Options accepted by RPC-sending methods (execute, executeMethod) to control timeout and cancellation. Both fields are optional.

Properties

signal
AbortSignal

Optional AbortSignal for cancellation support. If the signal is aborted, the promise will reject with an AbortError.

timeoutMs
number

Timeout in milliseconds. Defaults to 5000ms (5 seconds). If the response is not received within this time, the promise will reject with RPCTimeoutError.