Skip to main content

Type Alias: ModularBatchHistoryMode

ModularBatchHistoryMode = "single" | "merge"

How a committed modular batch is written to the undo history.

  • single (default): one new history entry.
  • merge: rewrites the current history entry instead of adding one. At the first entry it rewrites that entry, so no Undo step is added.

A batch that changed nothing writes no entry in either mode.