MCPcopy
hub / github.com/webpack/webpack / shutdown

Method shutdown

lib/Cache.js:178–182  ·  view source on GitHub ↗

* Shuts down every registered cache backend and waits for cleanup to finish. * @param {CallbackCache<void>} callback signals when the call finishes * @returns {void}

(callback)

Source from the content-addressed store, hash-verified

176 * @returns {void}
177 */
178 shutdown(callback) {
179 this.hooks.shutdown.callAsync(
180 makeWebpackErrorCallback(callback, "Cache.hooks.shutdown")
181 );
182 }
183}
184
185Cache.STAGE_MEMORY = -10;

Callers 1

closeMethod · 0.45

Calls 1

makeWebpackErrorCallbackFunction · 0.85

Tested by

no test coverage detected