withIndirectTxnMode Method @beta
Synchronously execute a series of changes with the TxnMode set to "indirect", so they are recorded as indirect changes.
Calls may be nested; the mode reverts to "direct" when the outermost call returns or throws.
This method does not save changes.
withIndirectTxnMode(callback: () => void): void
| Parameter | Type | Description |
|---|---|---|
| callback | () => void | The function containing the changes to make. |
Returns - void
Defined in
- backend/src/TxnManager.ts Line 1732
Last Updated: 05 November, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.