Initial import

This commit is contained in:
2025-11-05 20:35:04 +01:00
commit 5b1fd847c2
4586 changed files with 685044 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
const tee = require('./')
const { Readable } = require('streamx')
const s = new Readable()
for (let i = 0; i < 1000; i++) {
s.push(Buffer.alloc(1024))
}
const [a, b] = tee(s)
a.on('data', console.log)
setTimeout(function () {
b.read()
}, 1000)