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

# truncateAwait

`suspend fun FileSystem.truncateAwait(path: String, len: Long): Unit`

Truncate the file represented by path to length len in bytes, asynchronously.

### Parameters

`path` - the path to the file

`len` - the length to truncate it to

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

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