MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / spawn

Method spawn

lib/workers.js:357–362  ·  view source on GitHub ↗

* Creates a new worker * * @returns {WorkerObject}

()

Source from the content-addressed store, hash-verified

355 * @returns {WorkerObject}
356 */
357 spawn() {
358 const worker = new WorkerObject(this.numberOfWorkers)
359 this.workers.push(worker)
360 this.numberOfWorkers += 1
361 return worker
362 }
363
364 /**
365 * @param {Number} numberOfWorkers

Callers 1

worker_test.jsFile · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected