ApolloStore
ApolloStore exposes a thread-safe api to access a com.apollographql.apollo3.cache.normalized.api.NormalizedCache.
Functions
Direct access to the cache.
Clear all records from this ApolloStore. This is a synchronous operation that might block if the underlying cache is doing IO
Read a GraphQL fragment from the store. This is a synchronous operation that might block if the underlying cache is doing IO
Read GraphQL operation from store. This is a synchronous operation that might block if the underlying cache is doing IO
Remove cache record by the key This is a synchronous operation that might block if the underlying cache is doing IO
Remove a list of cache records This is an optimized version of remove for caches that can batch operations This is a synchronous operation that might block if the underlying cache is doing IO
Rollback operation data optimistic updates.
Write operation data to the optimistic store.
Properties
changedKeys will emit changes as they are written