Sets task's priority. If you do not call this, it will default to G_PRIORITY_DEFAULT.
This will affect the priority of #GSources created with gio.task.Task.attachSource and the scheduling of tasks run in threads, and can also be explicitly retrieved later via gio.task.Task.getPriority.
the priority of the request
Sets task's priority. If you do not call this, it will default to G_PRIORITY_DEFAULT.
This will affect the priority of #GSources created with gio.task.Task.attachSource and the scheduling of tasks run in threads, and can also be explicitly retrieved later via gio.task.Task.getPriority.