1 | ;
|
2 | const stream = require('stream');
|
3 | class Transform extends stream.Transform {
|
4 | _write(chunk, encoding, callback) {
|
5 | console.log(chunk);
|
6 | this.push("xxx");
|
7 | this.push(chunk);
|
8 | callback();
|
9 | }
|
10 | }
|
11 | class WriteStreamX extends stream.Writable {
|
12 | }
|
13 | //# sourceMappingURL=stream-test.js.map |
\ | No newline at end of file |