From 8b5b61a9a14b364dc702cdaa9f0cb49ad4310e03 Mon Sep 17 00:00:00 2001 From: legendecas Date: Tue, 17 Dec 2019 00:50:21 +0800 Subject: [PATCH] doc: reference worker threads on signal events PR-URL: https://github.com/nodejs/node/pull/30990 Reviewed-By: Luigi Pinca Reviewed-By: Anna Henningsen Reviewed-By: Rich Trott Reviewed-By: James M Snell --- doc/api/process.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/process.md b/doc/api/process.md index 217fbb66bc0f9b..212c171cf88d62 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -429,6 +429,8 @@ Signal events will be emitted when the Node.js process receives a signal. Please refer to signal(7) for a listing of standard POSIX signal names such as `'SIGINT'`, `'SIGHUP'`, etc. +Signals are not available on [`Worker`][] threads. + The signal handler will receive the signal's name (`'SIGINT'`, `'SIGTERM'`, etc.) as the first argument.