Skip to content

Commit e069593

Browse files
committed
chore: code review
1 parent ad3accb commit e069593

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

src/generators/types.d.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ declare global {
2222
fullInput: unknown,
2323
opts?: Record<string, unknown>
2424
): Promise<R[]>;
25-
26-
/**
27-
* Process items in parallel, ignoring return values.
28-
*/
29-
forEach<T>(
30-
items: T[],
31-
fullInput: unknown,
32-
opts?: Record<string, unknown>
33-
): Promise<void>;
3425
}
3526

3627
// This is the runtime config passed to the API doc generators

src/threading/parallel.mjs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,5 @@ export default function createParallelWorker(generatorName, pool, options) {
106106
// Flatten results
107107
return chunkResults.flat();
108108
},
109-
110-
/**
111-
* Process items in parallel, ignoring return values.
112-
* @template T
113-
* @param {T[]} items - Items to process
114-
* @param {T[]} fullInput - Full input data for context rebuilding
115-
* @param {object} extra - Generator-specific context
116-
* @returns {Promise<void>}
117-
*/
118-
async forEach(items, fullInput, extra) {
119-
await this.map(items, fullInput, extra);
120-
},
121109
};
122110
}

0 commit comments

Comments
 (0)