cancelTransaction method

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

Implementation

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