(taskId: string, setAppState: SetAppState)
| 479 | * carries the full output, so the <task_notification> would be redundant. |
| 480 | */ |
| 481 | export 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. |
no test coverage detected