From f950e5e6a4de17e1467bda8d24d8f1ae77144f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20F=C3=A4cke?= Date: Fri, 21 Sep 2018 18:26:27 +0200 Subject: [PATCH] doc: add callback parameters of terminate in worker_threads --- doc/api/worker_threads.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index b9f28cbfbe411b..37751c21bbb44d 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -427,6 +427,8 @@ added: v10.5.0 --> * `callback` {Function} + * `err` {Error} + * `exitCode` {integer} Stop all JavaScript execution in the worker thread as soon as possible. `callback` is an optional function that is invoked once this operation is known