closeTransaction method

  1. @override
FutureOr<void> closeTransaction(
  1. Transaction transaction,
  2. DBObjectDirectoryAdapterContext? connection
)
inherited

Nothing here: the closer runs before the commit is final (it can still fail, e.g. an operation added late, and the transaction is then canceled). The transaction is closed (onTransactionContextClosed) only once committed, by resolveTransactionResult: closing it here, a cancel after it would find it already consolidated.

Implementation

@override
FutureOr<void> closeTransaction(Transaction transaction, C? connection) {}