open fun flush(): AsyncFile
Flush any writes made to this file to underlying persistent storage.
If the file was opened with flush set to true then calling this method will have no effect.
The actual flush will happen asynchronously.
Return
a reference to this, so the API can be used fluently
open fun flush(handler: Handler<AsyncResult<Void>>): AsyncFile
Same as io.vertx.reactivex.core.file.AsyncFile#flush but the handler will be called when the flush is complete or if an error occurs
Return