simple_async_report_success_in_idle


Description:


[ Version ( since = "0.11.9" ) ]
public async void simple_async_report_success_in_idle (Object? source, void* source_tag)

Create a new SimpleAsyncResult with no operation result, and call complete_in_idle on it.

This is like a successful version of g_simple_async_report_error_in_idle, suitable for asynchronous functions that (conceptually) either succeed and return nothing, or raise an error, such as prepare_async.

The corresponding finish function should not call a function that attempts to get a result, such as get_op_res_gpointer.

Parameters:

source

the source object

source_tag

the source tag for the SimpleAsyncResult

callback

the callback

user_data

user data for callback


Namespace: TelepathyGLib
Package: telepathy-glib