writeFragmentSync

abstract fun <D : Fragment.Data> writeFragmentSync(fragment: Fragment<D>, cacheKey: CacheKey, fragmentData: D, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty, cacheHeaders: CacheHeaders = CacheHeaders.NONE): Set<String>

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

Return

the changed keys

Parameters

fragment

data to be written to the store

cacheKey

CacheKey to be used as root record key

fragmentData

Fragment.Data to be written to the store

See also