MCPcopy Create free account
hub / github.com/Athena-AI-Lab/athena-core / stdoutHandler

Method stdoutHandler

src/plugins/shell/shell-process.ts:38–47  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

36 }
37
38 stdoutHandler(data: string) {
39 this.stdout += data;
40 if (this.stdoutTimeout) {
41 clearTimeout(this.stdoutTimeout);
42 }
43 this.stdoutTimeout = setTimeout(() => {
44 this.emit("stdout", this.stdout);
45 this.stdout = "";
46 }, 2000);
47 }
48}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected