Gio.Drive.prototype.eject_finish

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

Finishes ejecting a drive.

result

a Gio.AsyncResult.

Returns

true if the drive has been ejected successfully, false otherwise.