vertx / io.vertx.kotlin.core.file / io.vertx.core.file.AsyncFile / closeAwait

closeAwait

suspend fun AsyncFile.closeAwait(): Unit

Close the file. The actual close happens asynchronously. The handler will be called when the close is complete, or an error occurs.

Parameters

handler - the handler