MCPcopy Create free account
hub / github.com/sitespeedio/sitespeed.io / startProcessingQueues

Method startProcessingQueues

lib/core/queueHandler.js:215–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213 }
214
215 async startProcessingQueues() {
216 for (const item of this.queues) {
217 const { queue, plugin } = item;
218 // For each queue, set up the processor that handles messages
219 queue.process(message =>
220 Promise.resolve(plugin.processMessage(message, this))
221 );
222 }
223 }
224
225 async drainAllQueues() {
226 const queues = this.queues;

Callers 1

runMethod · 0.95

Calls 2

processMethod · 0.80
processMessageMethod · 0.45

Tested by

no test coverage detected