cancelTo Method
Reverse and then cancel (make non-reinstatable) all changes back to a previous TxnId.
cancelTo(txnId: string): IModelStatus
@note Consider using cancelToTxnAsync instead.
@returns Success if the transactions were reversed and cleared, error status otherwise.
| Parameter | Type | Description |
|---|---|---|
| txnId | string | a TxnId obtained from a previous call to getCurrentTxnId |
Returns - IModelStatus
Success if the transactions were reversed and cleared, error status otherwise.
Defined in
- backend/src/TxnManager.ts Line 1330
Last Updated: 05 May, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.