Skip to content

Commit d36e67e

Browse files
committed
feat(ferry_store): add flush method to allow persistent stores to write pending data to disk
1 parent 6a7209e commit d36e67e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/ferry_store/lib/src/store.dart

+3
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ abstract class Store {
1616
void clear();
1717

1818
Future<void> dispose() async => null;
19+
20+
/// Flushes any pending writes to disk.
21+
Future<void> flush() async => null;
1922
}

0 commit comments

Comments
 (0)