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

Function pushLine

src/node/services/coderService.ts:180–186  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

178 let resolveNext: (() => void) | null = null;
179
180 const pushLine = (line: string) => {
181 lineQueue.push(line);
182 if (resolveNext) {
183 resolveNext();
184 resolveNext = null;
185 }
186 };
187
188 let pending = 2;
189 const markDone = () => {

Callers 1

processStreamFunction · 0.85

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected