You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,10 @@ Parses incoming data from the Python script written via stdout and emits `messag
209
209
210
210
Closes the stdin stream, allowing the Python script to finish and exit. The optional callback is invoked when the process is terminated.
211
211
212
+
#### `.terminate()`
213
+
214
+
Terminates the python script, the optional end callback is invoked if specified.
215
+
212
216
#### event: `message`
213
217
214
218
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