Skip to content

Commit cc8c0b4

Browse files
legendecasBridgeAR
authored andcommitted
doc: reference worker threads on signal events
PR-URL: #30990 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 7f6a0ed commit cc8c0b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/process.md

+2
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ Signal events will be emitted when the Node.js process receives a signal. Please
429429
refer to signal(7) for a listing of standard POSIX signal names such as
430430
`'SIGINT'`, `'SIGHUP'`, etc.
431431

432+
Signals are not available on [`Worker`][] threads.
433+
432434
The signal handler will receive the signal's name (`'SIGINT'`,
433435
`'SIGTERM'`, etc.) as the first argument.
434436

0 commit comments

Comments
 (0)