readOperation
abstract fun <D : Operation.Data> readOperation(operation: Operation<D>, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty, cacheHeaders: CacheHeaders = CacheHeaders.NONE): D
Read GraphQL operation from store. This is a synchronous operation that might block if the underlying cache is doing IO
Return
the operation data
Parameters
operation
to be read
Throws
CacheMissException
on cache miss
ApolloException
on other cache read errors