(_chunk, _encoding, callback)
| 211 | // Listen to the worker's stdout and stderr, if there's any thing logged, abort the activity first |
| 212 | const abortActivityStreamOnLog = new Transform({ |
| 213 | transform(_chunk, _encoding, callback) { |
| 214 | onActivityAbortImpl() |
| 215 | callback() |
| 216 | }, |
| 217 | }) |
| 218 | // Stop the activity if there's any output from the worker |
| 219 | this._worker.getStdout().pipe(abortActivityStreamOnLog) |
no test coverage detected