createDefaultRpcSubscriptionsTransport
Creates a RpcSubscriptionsTransport with some default behaviours.
The default behaviours include:
- Logic that coalesces multiple subscriptions for the same notifications with the same arguments into a single subscription.
Type Parameters
| Type Parameter |
|---|
TClusterUrl extends ClusterUrl |
Parameters
| Parameter | Type | Description |
|---|---|---|
config | DefaultRpcSubscriptionsTransportConfig<TClusterUrl> |
Returns
RpcSubscriptionsTransportFromClusterUrl<TClusterUrl>