MCPcopy Index your code
hub / github.com/darkreader/darkreader / runTasks

Function runTasks

tasks/task.js:75–84  ·  view source on GitHub ↗
(tasks, options)

Source from the content-addressed store, hash-verified

73 * @param {TaskOptions} options
74 */
75export async function runTasks(tasks, options) {
76 for (const task of tasks) {
77 try {
78 await task.run(options);
79 } catch (err) {
80 log.error(`${task.name} error\n${err.stack || err}`);
81 throw err;
82 }
83 }
84}

Callers 3

runFunction · 0.90
buildFunction · 0.90
apiFunction · 0.90

Calls 1

runMethod · 0.80

Tested by

no test coverage detected