handleDocChange method

void handleDocChange(
  1. Tuple3<Delta, Delta, ChangeSource> change
)

Implementation

void handleDocChange(Tuple3<Delta, Delta, ChangeSource> change) {
  if (ignoreChange) return;
  if (!userOnly || change.item3 == ChangeSource.LOCAL) {
    record(change.item2, change.item1);
  } else {
    transform(change.item2);
  }
}