Home
last modified time | relevance | path

Searched refs:oneTo5 (Results 1 - 1 of 1) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-stream-flatMap.js12 function oneTo5() { function
20 await oneTo5().flatMap((x) => [x + x]).toArray(),
24 await oneTo5().flatMap(() => []).toArray(),
28 await oneTo5().flatMap((x) => [x, x]).toArray(),
39 await oneTo5().flatMap(async (x) => [x, x]).toArray(),
42 const asyncOneTo5 = oneTo5().map(async (x) => x);
52 const result = await oneTo5().flatMap(async (x) => {
59 const result = await oneTo5().flatMap(() => {
76 const stream = oneTo5().flatMap(common.mustNotCall(async (_, { signal }) => {
96 const stream = oneTo5()
[all...]

Completed in 1 milliseconds