vertx / io.vertx.reactivex.core.file / AsyncFile / close

close

open fun close(): Unit

Close the file. The actual close happens asynchronously.

open fun close(handler: Handler<AsyncResult<Void>>): 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