GLib.Source.prototype.get_priority

function get_priority(): Number(gint) {
    // Gjs wrapper for g_source_get_priority()
}
  

Gets the priority of a source.

Returns

the priority of the source