end Method
end()
End this EditTxn, either by saving or abandoning the changes.
end(): void
@throws EditTxnError if this EditTxn is not active.
@throws IModelError if saving changes fails.
@throws Re-throws any error propagated by a geographic coordinate system restoration listener after completing abandonment.
Returns - void
end(mode, args?)
End this EditTxn, either by saving or abandoning the changes.
end(mode: "save" | "abandon", args?: string | SaveChangesArgs): void
@throws EditTxnError if this EditTxn is not active.
@throws IModelError if saving changes fails.
@throws Re-throws any error propagated by a geographic coordinate system restoration listener after completing abandonment.
| Parameter | Type | Description |
|---|---|---|
| mode | "save" | "abandon" | Whether to "save" or "abandon" the changes. Defaults to "save". |
| args | string | SaveChangesArgs | Save changes arguments when saving. |
Returns - void
Defined in
- backend/src/EditTxn.ts Line 151
Last Updated: 28 October, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.