next_async


Description:

public async bool next_async (Cancellable? cancellable = null) throws Error

Iterates the cursor asyncronously to the next result.

If the cursor was not started, it will point to the first result after this operation completes.

In the period between this call and the corresponding [method@SparqlCursor.next_finish] call, the other cursor methods should not be used, nor their results trusted. The cursor should only be iterated once at a time.

Parameters:

this

a `TrackerSparqlCursor`

cancellable

Optional [type@Gio.Cancellable]

callback

user-defined [type@Gio.AsyncReadyCallback] to be called when asynchronous operation is finished.

user_data

user-defined data to be passed to callback