add_completion
Description:
[ Version ( since = "2.24" ) ]
public unowned TimeoutSource add_completion (MainContext? async_context, SourceFunc function)
Adds function to be executed from inside async_context with the default priority.
Use this when you want to complete an action in async_context's main loop, as soon as possible.
Parameters:
| async_context |
the MainContext to dispatch the I/O watch in, or |
| function |
the callback to invoke |
| data |
user data to pass to |
Returns:
|
a SocketSource, which can be removed from |
Namespace: Soup
Package: libsoup-2.4