Pre Transaction Handle
Returned by Terminal.startPreTransactionAsync. Wraps the background wait's eventual outcome so callers that want to wait synchronously can do so with join/get - mirrors TransactionHandle, but for the pre-transaction wait, and offers the same getResult/cancel as PreTransactionProgress on the sync side.
Functions
Same as PreTransactionProgress.cancel - stops the local wait, does not affect the terminal/payment.
Waits for the background wait to complete and returns its result, same as join - declares the checked exceptions Java callers of java.util.concurrent.CompletableFuture.get expect.
Same as PreTransactionProgress.getResult - retrieves the result from this handle's task.
Waits for the background wait to complete and returns its result, same as blocking getResult - throws an unchecked java.util.concurrent.CompletionException wrapping the original failure.