abort

Asks the terminal to abort its current work.

Success only means the abort request was accepted; always use the eventual TransactionResult as the actual outcome. Also discards any pending pre-transaction wait (see pendingPreTransactionId), so startTransaction/startTransactionAsync can be called directly again afterwards.