(data, _encoding, cb)
| 52 | const pipeToWritable = (app: any, context?: any) => { |
| 53 | const stream = new Transform({ |
| 54 | transform(data, _encoding, cb) { |
| 55 | this.push(data) |
| 56 | cb() |
| 57 | }, |
| 58 | }) |
| 59 | pipeToNodeWritable(app, context, stream) |
| 60 | return promisifyStream(stream) |