Task.returnInt

void returnInt(ptrdiff_t 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 integer (#gssize) result of a task function.