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

copyAwait

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

Copy 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.copyAwait(from: String, to: String, options: CopyOptions): Unit

Copy 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 *