MCPcopy Create free account
hub / github.com/babel/babel / run

Method run

scripts/parallel-tsc/tsc.ts:112–120  ·  view source on GitHub ↗
(task: string)

Source from the content-addressed store, hash-verified

110 }
111
112 run(task: string) {
113 this.#pending.push(task);
114 if (!this.#queued) {
115 this.#queued = true;
116 queueMicrotask(() => {
117 this.#runTasks();
118 });
119 }
120 }
121
122 #runNextTask() {
123 if (this.#pending.length === 0) return;

Callers 2

onTaskDoneFunction · 0.45
tsc.tsFile · 0.45

Calls 2

#runTasksMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected