()
| 59 | * (task mutations must succeed from the caller's perspective). |
| 60 | */ |
| 61 | export function notifyTasksUpdated(): void { |
| 62 | try { |
| 63 | tasksUpdated.emit() |
| 64 | } catch { |
| 65 | // Ignore listener errors — task mutations must not fail due to notification issues |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | export const TASK_STATUSES = ['pending', 'in_progress', 'completed'] as const |
| 70 |
no test coverage detected