fetchPolicyInterceptor

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

Sets the fetch policy interceptor.

This only has effects for queries. Mutations and subscriptions always use FetchPolicy.NetworkOnly. This overrides any fetch policy set with fetchPolicy.

Default: DefaultFetchPolicyInterceptor