Skip to content

Commit 6e1bbff

Browse files
committed
added kill
1 parent 0214498 commit 6e1bbff

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,8 @@ module.exports = class Sidecar extends Duplex {
4242
_write(chunk, encoding, cb) {
4343
this._ipc.write(chunk, encoding, cb)
4444
}
45+
46+
kill (signal) {
47+
this._process.kill(signal)
48+
}
4549
}

0 commit comments

Comments
 (0)