updateSync

abstract fun updateSync(newValue: T)
abstract fun updateSync(newValueFunction: (T) -> T)