MCPcopy Index your code
hub / github.com/nodejs/node / lazyBinding

Function lazyBinding

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

Source from the content-addressed store, hash-verified

29} = require('internal/validators');
30let binding;
31function lazyBinding() {
32 binding ??= internalBinding('cares_wrap');
33 return binding;
34}
35const IANA_DNS_PORT = 53;
36const IPv6RE = /^\[([^[\]]*)\]/;
37const addrSplitRE = /(^.+?)(?::(\d+))?$/;

Callers 3

[kInitializeHandle]Method · 0.85
[kSetServersInternal]Method · 0.85
validateHintsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…