MCPcopy
hub / github.com/claude-code-best/claude-code / useCommandQueue

Function useCommandQueue

src/hooks/useCommandQueue.ts:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 * Components re-render only when the queue changes.
12 */
13export function useCommandQueue(): readonly QueuedCommand[] {
14 return useSyncExternalStore(subscribeToCommandQueue, getCommandQueueSnapshot)
15}

Callers 5

PromptInputFunction · 0.85
REPLFunction · 0.85
CancelRequestHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected