vertx / io.vertx.rxjava.core.file / FileSystem / createFile

# createFile

`open fun createFile(path: String, handler: Handler<AsyncResult<Void>>): FileSystem`

Creates an empty file with the specified `path`, asynchronously.

### Parameters

`path` - path to the file

`handler` - the handler that will be called on completion

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

`open fun createFile(path: String, perms: String, handler: Handler<AsyncResult<Void>>): FileSystem`

Creates an empty file with the specified `path` and permissions `perms`, asynchronously.

### Parameters

`path` - path to the file

`perms` - the permissions string

`handler` - the handler that will be called on completion

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