MCPcopy Create free account
hub / github.com/xerrors/Yuxi / hasPendingInterruptInThreads

Function hasPendingInterruptInThreads

web/src/composables/useAgentRunStream.js:160–162  ·  view source on GitHub ↗
(threadIds, runId)

Source from the content-addressed store, hash-verified

158 }
159
160 const hasPendingInterruptInThreads = (threadIds, runId) => {
161 return [...threadIds].some((id) => hasPendingInterruptForRun(getThreadState(id), runId))
162 }
163
164 const clearPendingInterruptForRun = (threadId, runId) => {
165 const threadState = getThreadState(threadId)

Callers 2

finalizeRunStreamFunction · 0.85
startRunStreamFunction · 0.85

Calls 2

getThreadStateFunction · 0.85

Tested by

no test coverage detected