Task.propagateValue

Gets the result of task as a gobject.Value, and transfers ownership of that value to the caller. As with Task.returnValue, this is a generic low-level method; Task.propagatePointer and the like will usually be more useful for C code.

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

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

class Task
bool
propagateValue
()

Parameters

value Value

return location for the gobject.Value

Return Value

Type: bool

TRUE if task succeeded, FALSE on error.

Throws

GException on failure.

Meta

Since

2.64