RpcSendable

type RpcSendable<TResponse> = object;

Structural duck-type for anything fireable via send({ abortSignal }). Satisfied by PendingRpcRequest<TResponse>.

Type Parameters

Type ParameterDescription
TResponseThe value send() resolves to.

Methods

send()

send(options?): Promise<TResponse>;

Parameters

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

Returns

Promise<TResponse>

On this page