[ Version ( since = "2.64" ) ]
public void return_value (Value? result)
Sets this's result to result
(by copying it) and completes the task.
If result
is null then a 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, return_pointer and the like will normally be much easier to use.
this |
a Task |
result |
the Value result of a task function |