inStoresTransaction<T, K extends KeyBase, V extends ValueBase> method

Future<T> inStoresTransaction<T, K extends KeyBase, V extends ValueBase>(
  1. List<SdbStoreRef<KeyBase, ValueBase>> stores,
  2. SdbTransactionMode mode,
  3. Future<T> callback(
    1. SdbMultiStoreTransaction txn
    )
)

Run a transaction.

Implementation

Future<T> inStoresTransaction<T, K extends KeyBase, V extends ValueBase>(
        List<SdbStoreRef> stores,
        SdbTransactionMode mode,
        Future<T> Function(SdbMultiStoreTransaction txn) callback) =>
    impl.inStoresTransactionImpl<T>(stores, mode, callback);