vertx / io.vertx.core.file / FileSystem / open

open

abstract fun open(path: String, options: OpenOptions, handler: Handler<AsyncResult<AsyncFile>>): FileSystem

Open the file represented by path, asynchronously.

The file is opened for both reading and writing. If the file does not already exist it will be created.

Parameters

path - path to the file

options - options describing how the file should be opened

Return
a reference to this, so the API can be used fluently