Gck.Enumerator.prototype.next_async

function next_async(max_objects: Number(gint), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gck_enumerator_next_async()
}
  

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.

max_objects

The maximum number of objects to get

cancellable

A Gio.Cancellable or null

callback

Called when the result is ready