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

moveAwait

suspend fun FileSystem.moveAwait(from: String, to: String): Unit

Move a file from the path from to path to, asynchronously.

Parameters

from - the path to copy from

to - the path to copy to

handler - the handler that will be called on completion

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

suspend fun FileSystem.moveAwait(from: String, to: String, options: CopyOptions): Unit

Move a file from the path from to path to, asynchronously.

Parameters

from - the path to copy from

to - the path to copy to

options - options describing how the file should be copied

handler - the handler that will be called on completion

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