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

# writeAwait

`suspend fun AsyncFile.writeAwait(data: Buffer): Unit`

Suspending version of method io.vertx.core.file.AsyncFile.write

### Parameters

`data` - NOTE: This function has been automatically generated from io.vertx.core.file.AsyncFile using Vert.x codegen.

`suspend fun AsyncFile.writeAwait(buffer: Buffer, position: Long): Unit`

Suspending version of method io.vertx.core.file.AsyncFile.write

### Parameters

`buffer` - the buffer to write

`position` -

the position in the file to write it at

NOTE: This function has been automatically generated from io.vertx.core.file.AsyncFile using Vert.x codegen.