CoolFace
Apppublic

strong-tie/inbound-calls

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
check.js19 linesDownload Raw Back to sonic-boom
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