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
funcwhen the signalsignalhappens. Only a single handler per signal number is supported. Usenullto set the default handler orundefinedto ignore the signal. Signal handlers can only be defined in the main thread.