refetchPolicyInterceptor

fun <T> MutableExecutionOptions<T>.refetchPolicyInterceptor(interceptor: ApolloInterceptor): T

Sets the fetch policy interceptor used when watching queries and a cache change has been published.

This overrides any fetch policy set with refetchPolicy.

Default: DefaultFetchPolicyInterceptor