MCPcopy
hub / github.com/webpack/webpack / endIdle

Method endIdle

lib/Cache.js:167–171  ·  view source on GitHub ↗

* Signals that webpack is leaving the idle phase and waits for cache * backends to finish any asynchronous resume work. * @param {CallbackCache<void>} callback signals when the call finishes * @returns {void}

(callback)

Source from the content-addressed store, hash-verified

165 * @returns {void}
166 */
167 endIdle(callback) {
168 this.hooks.endIdle.callAsync(
169 makeWebpackErrorCallback(callback, "Cache.hooks.endIdle")
170 );
171 }
172
173 /**
174 * Shuts down every registered cache backend and waits for cleanup to finish.

Callers 2

runMethod · 0.80
runMethod · 0.80

Calls 1

makeWebpackErrorCallbackFunction · 0.85

Tested by

no test coverage detected