commitOptimisticUpdate
Commits optimistic update. Replica forgets previous data.
Note: for simple cases it is better to use withOptimisticUpdate helper function.
Commits optimistic update. Replica forgets previous data.
Note: for simple cases it is better to use withOptimisticUpdate helper function.