Makes sure the writes up to a generation are in the store.
Answers at once when already committed, returns the flush in flight when its journal covered the target, and otherwise calls flush().
flush()
the generation to cover
a promise of flush()'s answer; error set means the write did not land
error
Makes sure the writes up to a generation are in the store.
Answers at once when already committed, returns the flush in flight when its journal covered the target, and otherwise calls
flush().