MCPcopy Index your code
hub / github.com/webpack/css-loader / resolveRequests

Function resolveRequests

src/utils.js:1334–1346  ·  view source on GitHub ↗
(resolve, context, possibleRequests)

Source from the content-addressed store, hash-verified

1332}
1333
1334async function resolveRequests(resolve, context, possibleRequests) {
1335 return resolve(context, possibleRequests[0])
1336 .then((result) => result)
1337 .catch((error) => {
1338 const [, ...tailPossibleRequests] = possibleRequests;
1339
1340 if (tailPossibleRequests.length === 0) {
1341 throw error;
1342 }
1343
1344 return resolveRequests(resolve, context, tailPossibleRequests);
1345 });
1346}
1347
1348function isURLRequestable(url, options = {}) {
1349 // Protocol-relative URLs

Callers 3

OnceExitFunction · 0.90
doResolveFunction · 0.90
OnceExitFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…