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