immich/mobile/lib/domain/interfaces/db.interface.dart
shenlong aeb3e0a84f
refactor(mobile): split store into repo and service (#16199)
* refactor(mobile): migrate store

* refactor(mobile): expand abbreviations

* chore(mobile): fix lint

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-02-19 13:05:24 -06:00

4 lines
108 B
Dart

abstract interface class IDatabaseRepository {
Future<T> transaction<T>(Future<T> Function() callback);
}