How to execute only one `createReadStream` `readable` event?

前端 未结 0 396
灰色年华
灰色年华 2021-01-27 03:42

I\'m trying to read a file as a stream, using a NodeJS Readable Stream.

For every character read, I want to print it and then wait 1 second.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题