Replaces the restart function returned by ApolloClient.subscribe.
Instead of invoking Apollo's default restart behavior, this wrapper delegates to SharedClient.restartSubscription. The original Apollo client is mutated in place and returned.
When using ApolloLink.split, pass a sharedClientResolver in the options so the SharedClient can be resolved per operation.
Replaces the restart function returned by ApolloClient.subscribe.
Instead of invoking Apollo's default restart behavior, this wrapper delegates to SharedClient.restartSubscription. The original Apollo client is mutated in place and returned.
When using ApolloLink.split, pass a sharedClientResolver in the options so the SharedClient can be resolved per operation.