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

# 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.

### Parameters

`buffer` - the buffer to write

`position` - the position in the file to write it at

Return
a reference to this, so the API can be used fluently *