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

readDirAwait

suspend fun FileSystem.readDirAwait(path: String): List<String>

Read the contents of the directory specified by 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.readDirAwait(path: String, filter: String): List<String>

Read the contents of the directory specified by path, asynchronously.

Parameters

path - path to the directory

filter - the filter expression

handler - the handler that will be called on completion

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