strong-tie/inbound-calls
0
1'use strict'2 3const SonicBoom = require('.')4const sonic = new SonicBoom({ fd: process.stdout.fd })5 6let count = 07function scheduleWrites () {8 for (let i = 0; i < 1000; i++) {9 sonic.write('hello sonic\n')10 console.log('hello console')11 }12 13 if (++count < 10) {14 setTimeout(scheduleWrites, 100)15 }16}17 18scheduleWrites()19 