Transaction Call
class TransactionCall
Configures transaction callbacks. Completion is reported only after the commit decision is resolved.
Functions
Link copied to clipboard
Reports the same settled outcome as handle.join(), once. The future is completed before this callback.
Link copied to clipboard
Reports operation failures, including unknown commit outcomes. Callback exceptions do not alter the transaction result.
Link copied to clipboard
fun onWaitingForCommit(action: Function<WaitingForCommitRequest, WaitingForCommitResult>): TransactionCall
Reports authorisation data. Return commit()/rollback() to decide inline, or deferred() for a later handle.commit()/rollback(). Without this callback the decision is also deferred. The final future and onComplete remain pending while awaiting that decision.