TaskReadyCallback


Description:

public delegate void TaskReadyCallback (Object? source_object, Task task)

Type definition for a function that will be called back when an asynchronous operation within GIO has been completed.

TaskReadyCallback callbacks from Task are guaranteed to be invoked in a later iteration of the thread-default main context where the Task was created. All other users of TaskReadyCallback must likewise call it asynchronously in a later iteration of the main context.

Parameters:

source_object

the object the asynchronous operation was started with.

res

a AsyncResult.

user_data

user data passed to the callback.


Namespace: GLib
Package: gio-2.0