writeOptimisticUpdatesSync

abstract fun <D : Operation.Data> writeOptimisticUpdatesSync(operation: Operation<D>, operationData: D, mutationId: Uuid, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty): Set<String>

Write operation data to the optimistic store. This is a synchronous operation that might block if the underlying cache is doing IO.

Return

the changed keys

Parameters

operation

Operation response data of which should be written to the store

operationData

Operation.Data operation response data to be written to the store

mutationId

mutation unique identifier

See also