Gio.Task.prototype.return_boolean
function return_boolean(result: Boolean): void {
// Gjs wrapper for g_task_return_boolean()
}
Sets task's result to result and completes the task (see Gio.Task.prototype.return_pointer for more discussion of exactly what this means).
Since 2.36
- result
the #gboolean result of a task function.