updateAndGet
Updates the MutableStateFlow.value atomically using the specified function of its value, and returns the new value.
function may be evaluated multiple times, if value is being concurrently updated.
Updates the MutableStateFlow.value atomically using the specified function of its value, and returns the new value.
function may be evaluated multiple times, if value is being concurrently updated.