* Register a handler invoked when Claude reports its session id (via the * `system/init` event). Use this to persist the id and pass it back as * `resumeSessionId` on the next spawn.
(handler: (sessionId: string) => void)
| 90 | * `resumeSessionId` on the next spawn. |
| 91 | */ |
| 92 | onSessionId(handler: (sessionId: string) => void): void; |
| 93 | /** Register a handler for process exit */ |
| 94 | onExit(handler: (code: number) => void): void; |
| 95 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected