flush method

  1. @override
Future<void> flush()

Flushes pending writes to the backing store.

Implementation

@override
Future<void> flush() async {
  _checkOpen();
  return _serialize(() async {
    for (final handle in _chunkHandles.values) {
      await handle.client.flush(handle.handle);
    }
    if (_manifestDirty) await _persist();
  });
}