runBulkUpdate

fun runBulkUpdate(subtreeRootNodeId: Long = ITree.ROOT_ID, body: () -> Unit)

This records all changes as a single operation instead of a long list of fine-grained changes. It is assumed that the intended change is to put the model into the resulting state.

Parameters

subtreeRootNodeId

if the update is not applied on the whole model, but only on a part of it, this ID specifies the root node of that subtree.