Skip to content

Commit 24073ce

Browse files
SerayaEryntargos
authored andcommittedSep 25, 2018
doc: add callback parameters of worker.terminate()
PR-URL: #23002 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 6b2e2ff commit 24073ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎doc/api/worker_threads.md

+2
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,8 @@ added: v10.5.0
427427
-->
428428

429429
* `callback` {Function}
430+
* `err` {Error}
431+
* `exitCode` {integer}
430432

431433
Stop all JavaScript execution in the worker thread as soon as possible.
432434
`callback` is an optional function that is invoked once this operation is known

0 commit comments

Comments
 (0)