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

Function addProjToQueue

test/fixtures/snapshot/typescript.js:124415–124424  ·  view source on GitHub ↗
(_a, proj, reloadLevel)

Source from the content-addressed store, hash-verified

124413 state.diagnostics.delete(resolved);
124414 }
124415 function addProjToQueue(_a, proj, reloadLevel) {
124416 var projectPendingBuild = _a.projectPendingBuild;
124417 var value = projectPendingBuild.get(proj);
124418 if (value === undefined) {
124419 projectPendingBuild.set(proj, reloadLevel);
124420 }
124421 else if (value < reloadLevel) {
124422 projectPendingBuild.set(proj, reloadLevel);
124423 }
124424 }
124425 function setupInitialBuild(state, cancellationToken) {
124426 // Set initial build if not already built
124427 if (!state.allProjectBuildPending)

Callers 2

queueReferencingProjectsFunction · 0.85
invalidateProjectFunction · 0.85

Calls 2

getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…