Gio.Task.prototype.propagate_boolean

function propagate_boolean(): Boolean {
    // Gjs wrapper for g_task_propagate_boolean()
}
  

Gets the result of task as a #gboolean.

If the task resulted in an error, or was cancelled, then this will instead return false and set @error.

Since this method transfers ownership of the return value (or error) to the caller, you may only call it once.

Since 2.36

Returns

the task result, or false on error