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

Return
a 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

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