User-defined callback methods, such as can be used to inject scripts, et...

...c.
可以用pipe的第二个参数来控制end事件是否自动触发，如： reader.pipe(writer, { end: false });