beginOptimisticUpdate
abstract suspend fun beginOptimisticUpdate(key: K, update: OptimisticUpdate<T>)
Content copied to clipboard
Begins optimistic update for a given key. Observed data will be transformed by update function immediately.
Note: for simple cases it is better to use withOptimisticUpdate helper function.