RpcTransport

type RpcTransport = <TResponse>(config) => Promise<TResponse>;

A function that can act as a transport for a Rpc. It need only return a promise for a response given the supplied config.

Type Parameters

Type Parameter
TResponse

Parameters

ParameterType
configConfig

Returns

Promise<TResponse>

On this page