vertx / io.vertx.kotlin.core.file / io.vertx.core.file.FileSystem / writeFileAwait

writeFileAwait

suspend fun FileSystem.writeFileAwait(path: String, data: Buffer): Unit

Creates the file, and writes the specified Buffer data to the file represented by the path path, asynchronously.

Parameters

path - path to the file

data -

handler - the handler that will be called on completion

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