RebaseHandler Interface @beta
Customizes how each local transaction is rebased during a pull/merge. Register it via setCustomHandler.
Methods
| Name | Description | |
|---|---|---|
| dispose(): void Optional | Called when the owning RebaseManager is disposed (e.g. | |
| recompute(txn: TxnProps): Promise<void> | Recompute the changes for a given transaction. | |
| shouldReinstate(txn: TxnProps): boolean | Determine whether the local changes of a transaction should be reinstated during a rebase operation. |
Defined in
- backend/src/TxnManager.ts Line 1775
Last Updated: 05 November, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.