MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / useCommandQueue

Function useCommandQueue

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

Source from the content-addressed store, hash-verified

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

Callers 5

PromptInputFunction · 0.85
REPLFunction · 0.85
CancelRequestHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected