MarkTaskRead persists the current actor-scoped triage state as read for the task's latest known activity snapshot.
(ctx context.Context, id string, actor ActorContext)
| 969 | // MarkTaskRead persists the current actor-scoped triage state as read for the |
| 970 | // task's latest known activity snapshot. |
| 971 | func (m *Service) MarkTaskRead(ctx context.Context, id string, actor ActorContext) (TriageState, error) { |
| 972 | return m.mutateTaskTriage(ctx, id, actor, func(state *TriageState, latestActivity time.Time) { |
| 973 | state.Read = true |
| 974 | state.Dismissed = false |
| 975 | state.LastSeenActivityAt = latestActivity |
| 976 | }) |
| 977 | } |
| 978 | |
| 979 | // ArchiveTask persists the current actor-scoped triage state as archived for |
| 980 | // the task's latest known activity snapshot. |
nothing calls this directly
no test coverage detected