MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / isMainThread

Function isMainThread

src/utils/queueProcessor.ts:67–67  ·  view source on GitHub ↗
(cmd: QueuedCommand)

Source from the content-addressed store, hash-verified

65 // false with the queue unchanged → the React effect never re-fires and any
66 // queued user prompt stalls permanently.
67 const isMainThread = (cmd: QueuedCommand) => cmd.agentId === undefined
68
69 const next = peek(isMainThread)
70 if (!next) {

Callers 1

processQueueIfReadyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected