AbstractProtected_Protected_ProtectedinAn event fired when the transaction is wrapping up.
Consumers can call waitUntil on the event to delay the resolution of the result Promise.
Protected ReadonlyonProtected ReadonlyqueueThe transaction will self-dispose when the queue is empty, once at least one action has been processed.
ProtectedstatusWhether the transaction is still accepting new interactions. Enqueueing an action when the Transaction is no longer open will throw an error.
The status of the transaction when complete.
Protected AbstractactPerforms a single interaction
the result of that interaction, specific to a given transaction type.
ProtectedconcludeProtecteddisposeProtecteddoProtectedinitProtected AbstractsetRuns any code necessary to initialize the batch of interactions. No interaction will be run until the setup is complete.
a representation of the success of setup specific to a given transaction implementation.
Protected AbstracttearRuns any code necessary to complete a transaction and release any resources it holds.
implementation-specific information about the success of the transaction. Will be used as the final status of the transaction.
Optionaldelay: Promise<unknown>OptionaldisposeIfRejected: boolean
Whether any actions have been added to the transaction. The Transaction will not self-dispose until at least one action has been performed.