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

Function onAbort

src/node/runtime/sshConnectionPool.ts:149–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147 };
148
149 const onAbort = () => {
150 finish(() => reject(new Error("Operation aborted")));
151 };
152
153 const timer = setTimeout(() => {
154 finish(() => reject(timeoutError ?? new Error("Operation timed out")));

Callers 1

probeConnectionMethod · 0.70

Calls 2

rejectFunction · 0.85
finishFunction · 0.70

Tested by

no test coverage detected