beginOptimisticUpdate

abstract suspend fun beginOptimisticUpdate(update: OptimisticUpdate<T>)

Begins optimistic update. Observed data will be transformed by update function immediately.

Note: for simple cases it is better to use withOptimisticUpdate helper function.