Package-level declarations
Types
Link copied to clipboard
An ApolloCall is a thin class that binds an ApolloRequest with its ApolloClient. It offers a fluent way to configure the ApolloRequest.
Link copied to clipboard
The main entry point for the Apollo runtime. An ApolloClient is responsible for executing queries, mutations and subscriptions
Link copied to clipboard
Information about auto persisted queries
Link copied to clipboard
Link copied to clipboard
class ConcurrencyInfo(val dispatcher: CoroutineDispatcher, val coroutineScope: CoroutineScope) : ExecutionContext.Element
Gives access to ApolloClient dispatcher and scope. This is used by the normalized cache to execute cache writes in the background.
Functions
Link copied to clipboard
fun <T> MutableExecutionOptions<T>.conflateFetchPolicyInterceptorResponses(conflateResponses: Boolean): T
When conflateResponses is true, the fetch policy interceptors emit a single response and ignores the first cache or network error if a successful response is ultimately fetched. If no successful response can be emitted, a com.apollographql.apollo.exception.ApolloCompositeException error response is emitted.