The common convention is to create the gio.SimpleAsyncResult in the
function that starts the asynchronous operation and use that same
function as the source_tag.
If your operation supports cancellation with gio.Cancellable (which it
probably should) then you should provide the user's cancellable to
SimpleAsyncResult.setCheckCancellable immediately after
this function returns.
Creates a gio.SimpleAsyncResult
The common convention is to create the gio.SimpleAsyncResult in the function that starts the asynchronous operation and use that same function as the source_tag.
If your operation supports cancellation with gio.Cancellable (which it probably should) then you should provide the user's cancellable to SimpleAsyncResult.setCheckCancellable immediately after this function returns.