MCPcopy
hub / github.com/webpack/webpack / isProcessing

Method isProcessing

lib/util/AsyncQueue.js:297–301  ·  view source on GitHub ↗

* Checks whether this async queue is processing. * @param {T} item an item * @returns {boolean} true, if the item is currently being processed

(item)

Source from the content-addressed store, hash-verified

295 * @returns {boolean} true, if the item is currently being processed
296 */
297 isProcessing(item) {
298 const key = this._getKey(item);
299 const entry = this._entries.get(key);
300 return entry !== undefined && entry.state === PROCESSING_STATE;
301 }
302
303 /**
304 * Checks whether this async queue is queued.

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected