Gio.Task.prototype.get_source_object

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

Gets the source object from task. Like Gio.AsyncResult.prototype.get_source_object, but does not ref the object.

Since 2.36

Returns

task's source object, or null