Aborts the transaction. This may throw an error if it fails. Of if the operation
is asynchronous, it may return a promise that represents the eventual success
or failure of the abort.
Commits the transaction. This may throw an error if it fails. Of if the operation
is asynchronous, it may return a promise that represents the eventual success
or failure of the commit.