cancelTransaction method
bool
cancelTransaction(
- Transaction transaction,
- DBObjectDirectoryAdapterContext? connection,
- Object? error,
- StackTrace? stackTrace,
inherited
Implementation
@override
bool cancelTransaction(
Transaction transaction,
C? connection,
Object? error,
StackTrace? stackTrace,
) {
_openTransactionsContexts.remove(connection);
if (connection != null) {
onTransactionContextCanceled(connection);
}
return true;
}