Files
memecoin-botV2/.pnpm-store/v10/files/63/22ceec49d9c08843ce31354049308193cd74d8f8f8ebbd8d5ae4e3a63fdf63d63f87be4b10f9d5e56a3f5f8a3cf878b941fb68523c4ca8c23e903253f3852f

23 lines
311 B
Plaintext

'use strict'
const SonicBoom = require('..')
const out = new SonicBoom({ fd: process.stdout.fd })
const str = Buffer.alloc(1000).fill('a').toString()
let i = 0
function write () {
if (i++ === 10) {
return
}
if (out.write(str)) {
write()
} else {
out.once('drain', write)
}
}
write()