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

readFileAwait

suspend fun FileSystem.readFileAwait(path: String): Buffer

Reads the entire file as represented by the path path as a , 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 *