SimpleAsyncResult.complete
void complete()Completes an asynchronous I/O job immediately. Must be called in the thread where the asynchronous result was to be delivered, as it invokes the callback directly. If you are in a different thread use [gio.simple_async_result.SimpleAsyncResult.completeInIdle].
Calling this function takes a reference to simple for as long as is needed to complete the call.
Deprecated
Use #GTask instead.