Wait for on('data') to finish while using pipe in nodejs

前端 未结 0 1853
感情败类
感情败类 2021-02-02 12:30

I have a stream, say s1. Now I want the demo function in the following code to complete execution before another on(data ... is executed.<

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