MCPcopy
hub / github.com/webpack/webpack / next

Method next

lib/CacheFacade.js:70–74  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

68 * @returns {Promise<T>} promise with the data
69 */
70 const next = (i) =>
71 this._items[i].getPromise().then((result) => {
72 if (result !== undefined) return result;
73 if (++i < this._items.length) return next(i);
74 });
75 return next(0);
76 }
77

Callers

nothing calls this directly

Calls 2

nextFunction · 0.50
getPromiseMethod · 0.45

Tested by

no test coverage detected