Kit
Type aliases

PendingRpcRequest

PendingRpcRequest<TResponse> = object

Pending requests are the result of calling a supported method on a Rpc object. They encapsulate all of the information necessary to make the request without actually making it.

Calling the `send(options)` method on a PendingRpcRequest<TResponse> will trigger the request and return a promise for TResponse.

Type Parameters

Type Parameter
TResponse

Methods

send()

send(options?): Promise<TResponse>

Parameters

ParameterType
options?Readonly<{ abortSignal?: AbortSignal; }>

Returns

Promise<TResponse>

On this page