MCPcopy Create free account
hub / github.com/SmartThingsCommunity/smartthings-cli / handleSignals

Function handleSignals

src/lib/util.ts:70–71  ·  view source on GitHub ↗
(listener: NodeJS.SignalsListener)

Source from the content-addressed store, hash-verified

68 * see: https://nodejs.org/api/process.html#process_signal_events
69 */
70export const handleSignals = (listener: NodeJS.SignalsListener): void =>
71 terminationSignals.forEach(signal => process.on(signal, listener))

Callers 2

handlerFunction · 0.85
util.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected