updateNode

abstract fun updateNode(nodeNum: Int, channel: Int = 0, transform: (Node) -> Node)(source)

Updates a node using a side-effect-free transform and schedules persistence. The transform may be evaluated more than once after compare-and-set contention; callers must perform notifications and other effects afterward.