Queries the service to return a list of tasks in the given tasklist
, which match query
.
this, tasklist
and query
are all reffed when this function is called, so can
safely be unreffed after this function returns.
Get the results of the query using query_async.end in the callback
.
For more details, see query_tasks, which is the synchronous version of this function, and query_async, which is the base asynchronous query function.
this | |
tasklist | |
query |
a Query with the query parameters, or |
cancellable |
optional Cancellable object, or |
progress_callback |
a QueryProgressCallback to call when an entry is loaded, or |
callback |
a TaskReadyCallback to call when the query is finished |
destroy_progress_user_data |
the function to call when |
progress_user_data |
data to pass to the |
user_data |
data to pass to the |