Task.returnBoolean

void returnBoolean(bool result)

Sets task's result to result and completes the task (see [gio.task.Task.returnPointer] for more discussion of exactly what this means).

Parameters

resultthe #gboolean result of a task function.