Gio.File.prototype.eject_mountable_finish

function eject_mountable_finish(result: Gio.AsyncResult): Boolean {
    // Gjs wrapper for g_file_eject_mountable_finish()
}
  

Finishes an asynchronous eject operation started by Gio.File.prototype.eject_mountable.

result

a Gio.AsyncResult

Returns

true if the file was ejected successfully. false otherwise.