MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / emitUpdate

Function emitUpdate

src/core/tools/ExecuteCommandTool.ts:318–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

316 }
317
318 const emitUpdate = () => {
319 pendingCommandOutputEmitTimer = undefined
320 lastCommandOutputEmitAt = Date.now()
321 void queueCommandOutputMessage(latestCompressedOutput, true)
322 }
323
324 const elapsed = Date.now() - lastCommandOutputEmitAt
325 if (elapsed >= commandOutputStreamThrottleMs) {

Callers 1

Calls 1

Tested by

no test coverage detected