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

Future<T> inStoreTransaction<T, K extends KeyBase, V extends ValueBase>(
  1. SdbStoreRef<K, V> store,
  2. SdbTransactionMode mode,
  3. Future<T> callback(
    1. SdbSingleStoreTransaction<K, V> txn
    )
)

Run a transaction.

Implementation

Future<T> inStoreTransaction<T, K extends KeyBase, V extends ValueBase>(
        SdbStoreRef<K, V> store,
        SdbTransactionMode mode,
        Future<T> Function(SdbSingleStoreTransaction<K, V> txn) callback) =>
    impl.inStoreTransactionImpl<T, K, V>(store, mode, callback);