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

Method waitForEmpty

scripts/parallel-tsc/tsc.ts:176–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174 }
175
176 get waitForEmpty() {
177 return new Promise<void>(resolve => {
178 this.#emptyListeners.push(resolve);
179 });
180 }
181}
182
183const total = projectToDependencies.size + ready.size;

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected