MCPcopy
hub / github.com/webpack/webpack / clear

Method clear

lib/util/LazySet.js:157–163  ·  lib/util/LazySet.js::LazySet.clear

* Removes all items and clears every deferred merge queue.

()

Source from the content-addressed store, hash-verified

155 * Removes all items and clears every deferred merge queue.
156 */
157 clear() {
158 this._set.clear();
159 this._toMerge.clear();
160 this._toDeepMerge.length = 0;
161 this._needMerge = false;
162 this._deopt = false;
163 }
164
165 /**
166 * Deletes an item after first materializing any deferred additions that may

Callers 15

finishUpdateParentMethod · 0.45
processConnectQueueFunction · 0.45
visitModulesFunction · 0.45
processResultMethod · 0.45
buildMethod · 0.45
finishMethod · 0.45
unsealMethod · 0.45
finalCallbackMethod · 0.45
clearAssetsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected