MCPcopy
hub / github.com/webpack/webpack / constructor

Method constructor

lib/util/runtime.js:692–700  ·  view source on GitHub ↗

* Creates an instance of RuntimeSpecSet. * @param {Iterable<RuntimeSpec>=} iterable iterable

(iterable)

Source from the content-addressed store, hash-verified

690 * @param {Iterable<RuntimeSpec>=} iterable iterable
691 */
692 constructor(iterable) {
693 /** @type {Map<string, RuntimeSpec>} */
694 this._map = new Map();
695 if (iterable) {
696 for (const item of iterable) {
697 this.add(item);
698 }
699 }
700 }
701
702 /**
703 * Processes the provided runtime.

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected