Skip to content

Commit f213244

Browse files
committed
TransactionalStorage
1 parent 9174138 commit f213244

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/rx_storage.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ library rx_storage;
66
export 'src/impl/real_storage.dart';
77
export 'src/interface/rx_storage.dart';
88
export 'src/interface/storage.dart';
9-
export 'src/interface/transactionally_storage.dart';
9+
export 'src/interface/transactional_storage.dart';
1010
export 'src/logger/default_logger.dart';
1111
export 'src/logger/empty_logger.dart';
1212
export 'src/logger/event.dart';

lib/src/impl/real_storage.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import '../async/async_memoizer.dart';
88
import '../async/async_queue.dart';
99
import '../interface/rx_storage.dart';
1010
import '../interface/storage.dart';
11-
import '../interface/transactionally_storage.dart';
11+
import '../interface/transactional_storage.dart';
1212
import '../logger/event.dart';
1313
import '../logger/logger.dart';
1414
import '../model/error.dart';

lib/src/interface/rx_storage.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import 'package:meta/meta.dart';
55
import '../impl/real_storage.dart';
66
import '../logger/logger.dart';
77
import 'storage.dart';
8-
import 'transactionally_storage.dart';
8+
import 'transactional_storage.dart';
99

1010
/// Get [Stream]s by key from persistent storage.
1111
abstract class RxStorage<Key extends Object, Options>
12-
implements TransactionallyStorage<Key, Options> {
12+
implements TransactionalStorage<Key, Options> {
1313
/// Constructs a [RxStorage] by wrapping a [Storage].
1414
factory RxStorage(
1515
FutureOr<Storage<Key, Options>> storageOrFuture, [

lib/src/interface/transactionally_storage.dart renamed to lib/src/interface/transactional_storage.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ typedef Transformer<T> = FutureOr<T> Function(T);
88

99
/// A persistent store for simple data.
1010
/// Data is persisted to disk asynchronously and transactionally.
11-
abstract class TransactionallyStorage<Key extends Object, Options>
11+
abstract class TransactionalStorage<Key extends Object, Options>
1212
implements Storage<Key, Options> {
1313
/// `Read–modify–write`.
1414
///

0 commit comments

Comments
 (0)