getRpcSubscriptionsChannelWithAutoping
Given a RpcSubscriptionsChannel, will return a new channel that sends a ping message to
the inner channel if a message has not been sent or received in the last intervalMs. In web
browsers, this implementation sends no ping when the network is down, and sends a ping
immediately upon the network coming back up.
Type Parameters
| Type Parameter |
|---|
TChannel extends RpcSubscriptionsChannel<object, unknown> |
Parameters
| Parameter | Type |
|---|---|
__namedParameters | Config<TChannel> |
Returns
TChannel