Type aliases
Rpc
Rpc<
TRpcMethods
> ={ [TMethodName in keyof TRpcMethods]: PendingRpcRequestBuilder<OverloadImplementations<TRpcMethods, TMethodName>> }
An object that exposes all of the functions described by TRpcMethods
.
Calling each method returns a PendingRpcRequest<TResponse> where
TResponse
is that method's response type.
Type Parameters
Type Parameter |
---|
TRpcMethods |