Call the function func when the signal signal happens. Only a single handler per signal number is supported. Use null to set the default handler or undefined to ignore the signal. Signal handlers can only be defined in the main thread.
func
signal
null
undefined
Generated using TypeDoc
Call the function
func
when the signalsignal
happens. Only a single handler per signal number is supported. Usenull
to set the default handler orundefined
to ignore the signal. Signal handlers can only be defined in the main thread.