rollbackOptimisticUpdate
abstract suspend fun rollbackOptimisticUpdate(key: K, update: OptimisticUpdate<T>)
Content copied to clipboard
Rollbacks optimistic update for a given key. Observed data will be replaced to the previous one.
Note: for simple cases it is better to use withOptimisticUpdate helper function.