MCPcopy Create free account
hub / github.com/nodejs/node / invalidateResolutionsOfFailedLookup

Function invalidateResolutionsOfFailedLookup

test/fixtures/snapshot/typescript.js:123709–123714  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123707 timerToInvalidateFailedLookupResolutions = host.setTimeout(invalidateResolutionsOfFailedLookup, 250);
123708 }
123709 function invalidateResolutionsOfFailedLookup() {
123710 timerToInvalidateFailedLookupResolutions = undefined;
123711 if (resolutionCache.invalidateResolutionsOfFailedLookupLocations()) {
123712 scheduleProgramUpdate();
123713 }
123714 }
123715 // Upon detecting a file change, wait for 250ms and then perform a recompilation. This gives batch
123716 // operations (such as saving all modified files in an editor) a chance to complete before we kick
123717 // off a new compilation.

Callers

nothing calls this directly

Calls 1

scheduleProgramUpdateFunction · 0.85

Tested by

no test coverage detected