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

createTempDirectoryAwait

suspend fun FileSystem.createTempDirectoryAwait(prefix: String): String

Creates a new directory in the default temporary-file directory, using the given prefix to generate its name, asynchronously.

Parameters

prefix - the prefix string to be used in generating the directory's name; may be null

handler - the handler that will be called on completion

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

suspend fun FileSystem.createTempDirectoryAwait(prefix: String, perms: String): String

Creates a new directory in the default temporary-file directory, using the given prefix to generate its name, asynchronously.

Parameters

prefix - the prefix string to be used in generating the directory's name; may be null

perms - the permissions string

handler - the handler that will be called on completion

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

suspend fun FileSystem.createTempDirectoryAwait(dir: String, prefix: String, perms: String): String

Creates a new directory in the directory provided by the path path, using the given prefix to generate its name, asynchronously.

Parameters

dir - the path to directory in which to create the directory

prefix - the prefix string to be used in generating the directory's name; may be null

perms - the permissions string

handler - the handler that will be called on completion

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