Type aliases
RpcTransport
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
Parameter | Type |
---|---|
config | Config |
Returns
Promise
<TResponse
>