inStoreTransaction<T, K extends KeyBase, V extends ValueBase> method
Future<T>
inStoreTransaction<T, K extends KeyBase, V extends ValueBase>(
- SdbStoreRef<
K, V> store, - SdbTransactionMode mode,
- Future<
T> callback(- SdbSingleStoreTransaction<
K, V> txn
- SdbSingleStoreTransaction<
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);