Skip to content
Permalink
Browse files

doc: reference worker threads on signal events

PR-URL: #30990
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
legendecas authored and BridgeAR committed Dec 16, 2019
1 parent 7f6a0ed commit cc8c0b4cdea6617f0fe839ad30023c747c2ef83c
Showing with 2 additions and 0 deletions.
  1. +2 −0 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.

0 comments on commit cc8c0b4

Please sign in to comment.
You can’t perform that action at this time.