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

Last Updated: 05 November, 2026