cancelTransaction method

  1. @override
bool cancelTransaction(
  1. Transaction transaction,
  2. DBObjectDirectoryAdapterContext? connection,
  3. Object? error,
  4. StackTrace? stackTrace,
)
override

Implementation

@override
bool cancelTransaction(
    Transaction transaction,
    DBObjectDirectoryAdapterContext? connection,
    Object? error,
    StackTrace? stackTrace) {
  _openTransactionsContexts.remove(connection);
  return true;
}