Task.returnValue

Sets task's result to result (by copying it) and completes the task.

If result is NULL then a gobject.Value of type G_TYPE_POINTER with a value of NULL will be used for the result.

This is a very generic low-level method intended primarily for use by language bindings; for C code, Task.returnPointer and the like will normally be much easier to use.

class Task
void
returnValue

Parameters

result Value

the gobject.Value result of a task function

Meta

Since

2.64