Gio.Task.prototype.get_priority

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

Gets task's priority

Since 2.36

Returns

task's priority