MCPcopy Create free account
hub / github.com/nodejs/node / oneTo5

Function oneTo5

test/parallel/test-stream-some-find-every.mjs:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7function oneTo5() {
8 return Readable.from([1, 2, 3, 4, 5]);
9}
10
11function oneTo5Async() {
12 return oneTo5().map(async (x) => {

Callers 2

oneTo5AsyncFunction · 0.70

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected