Runs the asynchronous job in a separate thread and then calls complete_in_idle on this to return the result to the appropriate main loop.
Calling this function takes a reference to this for as long as is needed to run the job and report its completion.
this | |
func | |
io_priority |
the io priority of the request. |
cancellable |
optional Cancellable object, null to ignore. |