transactionAndTrigger<T> abstract method

Future<T> transactionAndTrigger<T>(
  1. Future<T> action(
    1. Transaction txn
    ), {
  2. bool? exclusive,
})

Calls in action must only be done using the transaction object using the database will trigger a dead-lock.

A notification to queries for tables will be sent after the transaction is executed.

Implementation

Future<T> transactionAndTrigger<T>(
  Future<T> Function(sqlite_api.Transaction txn) action, {
  bool? exclusive,
});