Gio.File.prototype.eject_mountable_with_operation_finish

function eject_mountable_with_operation_finish(result: Gio.AsyncResult): Boolean {
    // Gjs wrapper for g_file_eject_mountable_with_operation_finish()
}
  

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

Since 2.22

result

a Gio.AsyncResult

Returns

true if the file was ejected successfully. false otherwise.