6de2455917
- Added GLOBAL_MARKETS_TITLE to all translation files - Updated footer with 12 markets (4 active + 8 upcoming) - Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi - Built and deployed to production - CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
17 lines
253 B
JavaScript
17 lines
253 B
JavaScript
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)
|