Gio.AsyncResult.prototype.get_source_object

function get_source_object(): GObject.Object {
    // Gjs wrapper for g_async_result_get_source_object()
}
  

Gets the source object from a Gio.AsyncResult.

Returns

a new reference to the source object for the res, or null if there is none.