run_async
Description:
Run the BatchOperation asynchronously.
This will send all the operations in the batch operation to the server, and call their respective callbacks asynchronously (i.e. in idle functions in the main thread, usually after run_async has returned) as the server returns results for each operation. this is reffed when this function is called, so can safely be unreffed after this function returns.
For more details, see run, which is the synchronous version of this function.
When the entire batch operation is finished, callback
will be called. You can then call run_async.end
to get the results of the batch operation.
Parameters:
this | |
cancellable |
a Cancellable, or |
callback |
a TaskReadyCallback to call when the batch operation is finished, or
|
user_data |
data to pass to the |