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

Method enqueue

lib/util/ArrayQueue.js:52–54  ·  view source on GitHub ↗

* Appends an item to the tail of the queue. * @param {T} item The element to add. * @returns {void}

(item)

Source from the content-addressed store, hash-verified

50 * @returns {void}
51 */
52 enqueue(item) {
53 this._list.push(item);
54 }
55
56 /**
57 * Removes and returns the next item in FIFO order, switching to a reversed

Callers 2

_runGraphMethod · 0.95
processModuleMethod · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected