onTransactionContextClosed method

  1. @protected
void onTransactionContextClosed(
  1. DBObjectDirectoryAdapterContext context, {
  2. required bool otherTransactionsOpen,
})
inherited

Called when the transaction of context is closed (after removing it from the open ones). otherTransactionsOpen tells if other transactions are still open. Default: does nothing. DBObjectMemoryAdapter consolidates its tables (once all the transactions are closed).

Implementation

@protected
void onTransactionContextClosed(
  C context, {
  required bool otherTransactionsOpen,
}) {}