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

chownAwait

suspend fun FileSystem.chownAwait(path: String, user: String, group: String): Unit

Change the ownership on the file represented by path to user and {code group}, asynchronously.

Parameters

path - the path to the file

user - the user name, null will not change the user name

group - the user group, null will not change the user group name

handler - the handler that will be called on completion

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