Task.propagatePointer

Gets the result of @task as a pointer, and transfers ownership of that value to the caller.

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

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

class Task
void*
propagatePointer
()

Return Value

Type: void*

the task result, or %NULL on error

Throws

GException on failure.

Meta

Since

2.36