Gio.SocketAddressEnumerator.prototype.next_async
function next_async(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for g_socket_address_enumerator_next_async() }
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