Gio.File::trash_async

function vfunc_trash_async(io_priority: Number(gint), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
}
  

Asynchronously sends file to the Trash location, if possible.

Since 2.38

io_priority

the [I/O priority][io-priority] of the request

cancellable

optional Gio.Cancellable object, null to ignore

callback

a Gio.AsyncReadyCallback to call when the request is satisfied