MCPcopy
hub / github.com/webpack/webpack / storePromise

Method storePromise

lib/CacheFacade.js:99–103  ·  view source on GitHub ↗

* Stores the provided data. * @template T * @param {T} data the value to store * @returns {Promise<void>} promise signals when the value is stored

(data)

Source from the content-addressed store, hash-verified

97 * @returns {Promise<void>} promise signals when the value is stored
98 */
99 storePromise(data) {
100 return Promise.all(this._items.map((item) => item.storePromise(data))).then(
101 () => {}
102 );
103 }
104}
105
106class ItemCacheFacade {

Callers

nothing calls this directly

Calls 1

storePromiseMethod · 0.45

Tested by

no test coverage detected