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