Gio.SocketAddressEnumerator::next_async

function vfunc_next_async(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
}
  

Asynchronously retrieves the next Gio.SocketAddress from enumerator and then calls callback, which must call Gio.SocketAddressEnumerator.prototype.next_finish to get the result.

cancellable

optional Gio.Cancellable object, null to ignore.

callback

a Gio.AsyncReadyCallback to call when the request is satisfied