copyAsync

open fun copyAsync(destination: File, flags: FileCopyFlags, ioPriority: Int, cancellable: Cancellable? = null, progressCallbackClosure: <Error class: unknown class>? = null, readyCallbackClosure: <Error class: unknown class>)

Version of method@Gio.File.copy_async using closures instead of callbacks for easier binding in other languages.

Since

2.82

Parameters

destination

destination type@Gio.File

flags

set of flags@Gio.FileCopyFlags

ioPriority

the iface.AsyncResult.html#io-priority of the request

cancellable

optional class@Gio.Cancellable object, NULL to ignore

progressCallbackClosure

type@GObject.Closure to invoke with progress information, or NULL if progress information is not needed

readyCallbackClosure

type@GObject.Closure to invoke when the request is satisfied