Skip to content

claude-code-driver / installSignalHandlers

Function: installSignalHandlers() ​

ts
function installSignalHandlers(o?): Unsubscribe;

Defined in: api/claude-session.ts:785

Opt-in SIGINT/SIGTERM/SIGHUP handling that closes every session before the process dies (LC §7).

Parameters ​

ParameterType
o?{ graceMs?: number; }
o.graceMs?number

Returns ​

Unsubscribe

Released under the MIT License. Not affiliated with Anthropic.