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

createFileAwait

suspend fun FileSystem.createFileAwait(path: String): Unit

Creates an empty file with the specified path, asynchronously.

Parameters

path - path to the file

handler - the handler that will be called on completion

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

suspend fun FileSystem.createFileAwait(path: String, perms: String): Unit

Creates an empty file with the specified path and permissions perms, asynchronously.

Parameters

path - path to the file

perms - the permissions string

handler - the handler that will be called on completion

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