(options = undefined)
| 76 | |
| 77 | class ResolverBase { |
| 78 | constructor(options = undefined) { |
| 79 | const timeout = validateTimeout(options); |
| 80 | const tries = validateTries(options); |
| 81 | const maxTimeout = validateMaxTimeout(options); |
| 82 | // If we are building snapshot, save the states of the resolver along |
| 83 | // the way. |
| 84 | if (isBuildingSnapshot()) { |
| 85 | this[kSnapshotStates] = { timeout, tries, maxTimeout }; |
| 86 | } |
| 87 | this[kInitializeHandle](timeout, tries, maxTimeout); |
| 88 | } |
| 89 | |
| 90 | [kInitializeHandle](timeout, tries, maxTimeout) { |
| 91 | const { ChannelWrap } = lazyBinding(); |
nothing calls this directly
no test coverage detected