MCPcopy Index your code
hub / github.com/nodejs/node / [kDeserializeResolver]

Method [kDeserializeResolver]

lib/internal/dns/utils.js:201–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

199 }
200
201 [kDeserializeResolver]() {
202 const { timeout, tries, maxTimeout, localAddress, servers } = this[kSnapshotStates];
203 this[kInitializeHandle](timeout, tries, maxTimeout);
204 if (localAddress) {
205 const { ipv4, ipv6 } = localAddress;
206 this._handle.setLocalAddress(ipv4, ipv6);
207 }
208 if (servers) {
209 this[kSetServersInternal](servers, servers);
210 }
211 }
212}
213
214let defaultResolver;

Callers

nothing calls this directly

Calls 1

setLocalAddressMethod · 0.80

Tested by

no test coverage detected