Gio.simple_async_report_gerror_in_idle

function simple_async_report_gerror_in_idle(object: GObject.Object, callback: Gio.AsyncReadyCallback, error: GLib.Error): void {
    // Gjs wrapper for g_simple_async_report_gerror_in_idle()
}
  

Reports an error in an idle function. Similar to Gio.simple_async_report_error_in_idle, but takes a GLib.Error rather than building a new one.

object

a GObject.Object, or null

callback

a Gio.AsyncReadyCallback.

error

the GLib.Error to report