MCPcopy
hub / github.com/angular/components / parallel

Function parallel

src/cdk/testing/change-detection.ts:193–195  ·  view source on GitHub ↗
(values: () => Iterable<T | PromiseLike<T>>)

Source from the content-addressed store, hash-verified

191 * @return The resolved values.
192 */
193export async function parallel<T>(values: () => Iterable<T | PromiseLike<T>>): Promise<T[]> {
194 return batchChangeDetection(() => Promise.all(values()), true);
195}

Calls 1

batchChangeDetectionFunction · 0.85

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…