EndTransaction Function
Stops and commits a running recording of a sequence of multiple atomic edit operations to the edit history of the current Envision document editing session in the Canvas Envision Creator web app as a single edit transaction.
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the recording of the series of multiple atomic edit operations has been successfully stopped and committed to the edit history of the current Envision document editing session as a single edit transaction.
Discussion
The function will throw an error if the edit operation transaction recording has not been started with the BeginTransaction(): Promise<void> function.
Multiple atomic edit operations recorded in the edit history as a single edit transaction are treated as a whole and undone and redone in a single call of the Undo(): Promise<void> and Redo(): Promise<void> functions.