next_async


Description:

public async List<Object> next_async (int max_objects, Cancellable? cancellable) throws Error

Get the next set of objects from the enumerator.

This operation completes asynchronously.The maximum number of objects can be specified with max_objects. If -1 is specified, then all the remaining objects will be enumerated.

Parameters:

this

An enumerator

max_objects

The maximum number of objects to get

cancellable

A Cancellable or null

callback

Called when the result is ready

user_data

Data to pass to the callback




2022 vala-language.org