Gio.Volume.prototype.eject_finish

function eject_finish(result: Gio.AsyncResult): Boolean {
    // Gjs wrapper for g_volume_eject_finish()
}
  

Finishes ejecting a volume. If any errors occurred during the operation, @error will be set to contain the errors and false will be returned.

result

a Gio.AsyncResult

Returns

true, false if operation failed