query_async


Description:

[ Version ( deprecated = true , deprecated_since = "0.17.7" , since = "0.15.1" ) ]
public async void query_async (FreebaseQuery query, Cancellable? cancellable)

Warning: query_async is deprecated since 0.17.7.

Performs a MQL query on the service.

Note:

Google Freebase has been permanently shut down.

this and query are all reffed when this function is called, so can safely be unreffed after this function returns. When the query is replied, or fails, callback will be executed, and the result can be obtained through query_single_entry_async.end.

For more details, see query, which is the synchronous version of this function.

Parameters:

this

a FreebaseService

query

a FreebaseQuery with the MQL query

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when authentication is finished

user_data

data to pass to the callback function