()
| 599 | // Piping |
| 600 | // prettier-ignore |
| 601 | get pipe(): PipeMethod & { |
| 602 | [key in keyof TSpawnStore]: PipeMethod |
| 603 | } { |
| 604 | const getPipeMethod = (kind: keyof TSpawnStore) => this._pipe.bind(this, kind) as PipeMethod |
| 605 | const stdout = getPipeMethod('stdout') |
| 606 | const stderr = getPipeMethod('stderr') |
| 607 | const stdall = getPipeMethod('stdall') |
| 608 | return Object.assign(stdout, { stdout, stderr, stdall }) |
| 609 | } |
| 610 | |
| 611 | unpipe(to?: PipeAcceptor): this { |
| 612 | ProcessPromise.bus.unpipe(this, to) |
nothing calls this directly
no test coverage detected
searching dependent graphs…