MCPcopy Create free account
hub / github.com/tanbiralam/claude-code / markTaskNotified

Function markTaskNotified

src/tasks/LocalShellTask/LocalShellTask.tsx:481–486  ·  view source on GitHub ↗
(taskId: string, setAppState: SetAppState)

Source from the content-addressed store, hash-verified

479 * carries the full output, so the <task_notification> would be redundant.
480 */
481export function markTaskNotified(taskId: string, setAppState: SetAppState): void {
482 updateTaskState(taskId, setAppState, t => t.notified ? t : {
483 ...t,
484 notified: true
485 });
486}
487
488/**
489 * Unregister a foreground task when the command completes without being backgrounded.

Callers 2

runPowerShellCommandFunction · 0.50
runShellCommandFunction · 0.50

Calls 1

updateTaskStateFunction · 0.50

Tested by

no test coverage detected