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

Function enqueuePendingNotification

src/utils/messageQueueManager.ts:142–149  ·  view source on GitHub ↗
(command: QueuedCommand)

Source from the content-addressed store, hash-verified

140 * is never starved by system messages.
141 */
142export function enqueuePendingNotification(command: QueuedCommand): void {
143 commandQueue.push({ ...command, priority: command.priority ?? 'later' })
144 notifySubscribers()
145 logOperation(
146 'enqueue',
147 typeof command.value === 'string' ? command.value : undefined,
148 )
149}
150
151const PRIORITY_ORDER: Record<QueuePriority, number> = {
152 now: 0,

Callers 15

autonomy.test.tsFile · 0.90
executeInBackgroundFunction · 0.70
handleResponseFunction · 0.50
UltraplanChoiceDialogFunction · 0.50
startDetachedPollFunction · 0.50
stopUltraplanFunction · 0.50
launchDetachedFunction · 0.50
resumeAutonomyFlowTextFunction · 0.50

Calls 3

notifySubscribersFunction · 0.85
logOperationFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected