TransactionHandler<T> typedef

TransactionHandler<T> = Future<T> Function(Transaction transaction)

A function definition for transactional functions.

The function will be given a Transaction object which can be used to make lookups/queries and queue modifications (inserts/updates/deletes).

Implementation

typedef TransactionHandler<T> = Future<T> Function(Transaction transaction);