> If you want, you can write some pretty simple logic that listens to data, 
> checks the length, and calls pause() for some period of time to taper the 
> transfer at a constant rate. It's not terribly efficient and there is no 
> guarantee that the OS is not buffering data at a greater rate than you are 
> pushing it, but it's the best you can do.

Give this guy a shot. I needed it to throttle PCM audio data in
"real-time" (one second of data for one second of running time). Let
me know if it works for your use-case:
https://github.com/TooTallNate/node-throttle

Reply via email to