MCPcopy
hub / github.com/webpack/webpack / enqueue

Method enqueue

lib/util/Queue.js:39–41  ·  view source on GitHub ↗

* Enqueues an item, moving nothing if that value is already present. * @param {T} item The element to add. * @returns {void}

(item)

Source from the content-addressed store, hash-verified

37 * @returns {void}
38 */
39 enqueue(item) {
40 this._set.add(item);
41 }
42
43 /**
44 * Removes and returns the oldest enqueued item.

Callers 7

applyMethod · 0.95
nodeDoneMethod · 0.45
nodeChangeMethod · 0.45
notifyDependenciesMethod · 0.45
addMethod · 0.45
Queue.unittest.jsFile · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected