MCPcopy Create free account
hub / github.com/Azure/powershell / HandleTimeout

Method HandleTimeout

lib/index.js:2347–2357  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

2345 this.emit('done', error, this.processExitCode);
2346 }
2347 static HandleTimeout(state) {
2348 if (state.done) {
2349 return;
2350 }
2351 if (!state.processClosed && state.processExited) {
2352 const message = `The STDIO streams did not close within ${state.delay /
2353 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;
2354 state._debug(message);
2355 }
2356 state._setResult();
2357 }
2358}
2359//# sourceMappingURL=toolrunner.js.map
2360

Callers

nothing calls this directly

Calls 2

_setResultMethod · 0.80
_debugMethod · 0.45

Tested by

no test coverage detected