Type aliases
RpcSubscriptionsApi
RpcSubscriptionsApi<
TRpcSubscriptionMethods
> ={ [MethodName in keyof TRpcSubscriptionMethods]: RpcSubscriptionsReturnTypeMapper<TRpcSubscriptionMethods[MethodName]> }
For each of TRpcSubscriptionsMethods
, this object exposes a method with the same name that maps
between its input arguments and a
RpcSubscriptionsPlan<TNotification> that implements the execution
of a JSON RPC subscription for TNotifications
.
Type Parameters
Type Parameter |
---|
TRpcSubscriptionMethods |