Skip to content

Commit 54a3f36

Browse files
authored
Update README.md
1 parent 8505392 commit 54a3f36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ Parses incoming data from the Python script written via stdout and emits `messag
209209

210210
Closes the stdin stream, allowing the Python script to finish and exit. The optional callback is invoked when the process is terminated.
211211

212+
#### `.terminate()`
213+
214+
Terminates the python script, the optional end callback is invoked if specified.
215+
212216
#### event: `message`
213217

214218
Fires when a chunk of data is parsed from the stdout stream via the `receive` method. If a `parser` method is specified, the result of this function will be the message value. This event is not emitted in binary mode.

0 commit comments

Comments
 (0)