Initial commit

This commit is contained in:
Spencer Pincott
2024-07-15 22:20:13 -04:00
commit 97737ca1ae
16618 changed files with 934131 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
const transform = require('..')
transform([
['1','2','3','4'],
['a','b','c','d']
], function(data, callback){
setImmediate(function(){
data.push(data.shift())
callback(null, data.join(',')+'\n')
})
}, {
parallel: 20
})
.pipe(process.stdout)
// Output:
// 2,3,4,1
// b,c,d,a