Task.propagateInt

Gets the result of task as an integer (gssize).

If the task resulted in an error, or was cancelled, then this will instead return -1 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
ptrdiff_t
propagateInt
()

Return Value

Type: ptrdiff_t

the task result, or -1 on error

Throws

GException on failure.

Meta

Since

2.36