GLib.Source.prototype.ref

function ref(): GLib.Source {
    // Gjs wrapper for g_source_ref()
}
  

Increases the reference count on a source by one.

Returns

source