flush abstract method

Future<void> flush()

Waits for pending writes and flushes them to disk.

On the VM, a write's future completes once the operating system has the bytes, which survives a process kill but not a power loss. On the web, this does nothing.

Implementation

Future<void> flush();