MCPcopy
hub / github.com/rollup/rollup / waitForDependencyResolution

Function waitForDependencyResolution

src/ModuleLoader.ts:844–847  ·  view source on GitHub ↗
(loadPromise: LoadModulePromise)

Source from the content-addressed store, hash-verified

842}
843
844async function waitForDependencyResolution(loadPromise: LoadModulePromise) {
845 const [resolveStaticDependencyPromises, resolveDynamicImportPromises] = await loadPromise;
846 return Promise.all([...resolveStaticDependencyPromises, ...resolveDynamicImportPromises]);
847}

Callers 2

fetchModuleMethod · 0.85
handleExistingModuleMethod · 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…