[ CCode ( vfunc_name = "delete_file_async" ) ]
[ Version ( since = "2.34" ) ]
public virtual async bool delete_async (int io_priority = DEFAULT, Cancellable? cancellable = null) throws Error
Asynchronously delete a file.
If the this is a directory, it will only be deleted if it is empty. This has the same semantics as unlink.
| this |
input File |
| io_priority |
the [I/O priority](iface.AsyncResult.html#io-priority) of the request |
| cancellable |
optional Cancellable object, null to ignore |
| callback |
a TaskReadyCallback to call when the request is satisfied |
| user_data |
the data to pass to callback function |