runWrite

suspend fun <T> IModelClientV2.runWrite(branchRef: BranchReference, body: (INode) -> T): T

Performs a write transaction on the root node of the given branch.

IModelClientV2.runWriteOnBranch can be used access to the underlying branch is needed.