MCPcopy Index your code
hub / github.com/coder/mux / abortHandler

Function abortHandler

src/node/services/coderService.ts:165–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 const terminator = createGracefulTerminator(child);
164
165 const abortHandler = () => {
166 terminator.terminate();
167 };
168 abortSignal?.addEventListener("abort", abortHandler, { once: true });
169 if (abortSignal?.aborted) {
170 abortHandler();

Callers 1

streamCoderCommandFunction · 0.70

Calls 1

terminateMethod · 0.65

Tested by

no test coverage detected