MCPcopy Create free account
hub / github.com/ShipSecAI/studio / handleComplete

Function handleComplete

frontend/src/hooks/useTerminalStream.ts:244–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242 };
243
244 const handleComplete = () => {
245 setIsStreaming(false);
246 setMode('replay');
247 source?.close();
248 };
249
250 source.addEventListener('terminal', handleTerminal);
251 source.addEventListener('complete', handleComplete);

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected