Makes sure the writes up to a generation are in the store.
Answers at once when already committed, returns the earliest covering save when one is in flight or waiting to be sent, 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 earliest covering save when one is in flight or waiting to be sent, and otherwise calls
flush().