Protected_Protected_Protected ReadonlycontextProtected ReadonlyeditorProtectedinProtected ReadonlyjsoncProtected ReadonlymessageAn 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 Optional ReadonlypreludeProtected ReadonlyqueueThe transaction will self-dispose when the queue is empty, once at least one action has been processed.
ProtectedstatusProtected ReadonlytextWhether 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.
ProtectedactPerforms a single interaction
the result of that interaction, specific to a given transaction type.
ProtectedconcludeProtecteddisposeProtecteddoa promise reflecting the result of performing an action. Typically the promise will not resolve until the whole transaction is complete.
Protectedhandlewhether the setting operation in progress, and any others started in the meantime, should continue.
ProtectedinitProtectedsetRuns 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.
ProtectedtearRuns 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.