onCommit property

void Function()? onCommit
getter/setter pair

Fired just before a commit is applied — the hook the edit-during-sync test uses to land an edit inside a cycle.

Implementation

void Function()? onCommit;