- Preparing search index...
- The search index is not available
polykey
Function resolveHostnames
- resolveHostnames(addresses, existingAddresses?, servers?, ctx?): Promise<[Host, Port][]>
-
Parameters
-
-
existingAddresses: Set<string> = ...
-
Optional
servers: string[]
-
Optional
ctx: Partial<ContextTimedInput>
Returns Promise<[Host, Port][]>
Takes an array of host or hostnames and resolves them to the host addresses. It will also filter out any duplicates.