Gio.Resolver.prototype.lookup_by_address_finish

function lookup_by_address_finish(result: Gio.AsyncResult): String {
    // Gjs wrapper for g_resolver_lookup_by_address_finish()
}
  

Retrieves the result of a previous call to Gio.Resolver.prototype.lookup_by_address_async.

If the DNS resolution failed, @error (if non-null) will be set to a value from Gio.ResolverError. If the operation was cancelled, @error will be set to Gio.IOErrorEnum.cancelled.

Since 2.22

result

the result passed to your Gio.AsyncReadyCallback

Returns

a hostname (either ASCII-only, or in ASCII-encoded form), or null on error.