vertx / io.vertx.kotlin.core.file / io.vertx.core.file.AsyncFile

### Extensions for io.vertx.core.file.AsyncFile

closeAwait | `suspend fun AsyncFile.closeAwait(): Unit` Close the file. The actual close happens asynchronously. The handler will be called when the close is complete, or an error occurs.
flushAwait | `suspend fun AsyncFile.flushAwait(): Unit` Same as io.vertx.core.file.AsyncFile but the handler will be called when the flush is complete or if an error occurs
readAwait | `suspend fun AsyncFile.readAwait(buffer: Buffer, offset: Int, position: Long, length: Int): Buffer` Reads length bytes of data from the file at position position in the file, asynchronously.
writeAwait | `suspend fun AsyncFile.writeAwait(buffer: Buffer, position: Long): Unit` Write a io.vertx.core.buffer.Buffer to the file at position position in the file, asynchronously.