Gio.File::eject_mountable
function vfunc_eject_mountable(flags: Gio.MountUnmountFlags, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { }
Starts an asynchronous eject on a mountable. When this operation has completed, callback will be called with @user_user data, and the operation can be finalized with Gio.File.prototype.eject_mountable_finish.
If cancellable is not null, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error Gio.IOErrorEnum.cancelled will be returned.
- flags
flags affecting the operation
- cancellable
optional Gio.Cancellable object, null to ignore
- callback
a Gio.AsyncReadyCallback to call when the request is satisfied, or null