MCPcopy Index your code
hub / github.com/codeaashu/claude-code / #handleTimeout

Method #handleTimeout

src/utils/ShellCommand.ts:135–141  ·  view source on GitHub ↗
(self: ShellCommandImpl)

Source from the content-addressed store, hash-verified

133 readonly taskOutput: TaskOutput
134
135 static #handleTimeout(self: ShellCommandImpl): void {
136 if (self.#shouldAutoBackground && self.#onTimeoutCallback) {
137 self.#onTimeoutCallback(self.background.bind(self))
138 } else {
139 self.#doKill(SIGTERM)
140 }
141 }
142
143 readonly result: Promise<ExecResult>
144 readonly onTimeout?: (

Callers

nothing calls this directly

Calls 1

#doKillMethod · 0.80

Tested by

no test coverage detected