MCPcopy Index your code
hub / github.com/nodejs/node / toArray

Function toArray

test/parallel/test-runner-v8-deserializer.mjs:11–15  ·  view source on GitHub ↗
(chunks)

Source from the content-addressed store, hash-verified

9import runner from 'internal/test_runner/runner';
10
11async function toArray(chunks) {
12 const arr = [];
13 for await (const i of chunks) arr.push(i);
14 return arr;
15}
16
17const diagnosticEvent = {
18 type: 'test:diagnostic',

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…