DismissTask persists the current actor-scoped triage state as dismissed for the task's latest known activity snapshot.
(ctx context.Context, id string, actor ActorContext)
| 990 | // DismissTask persists the current actor-scoped triage state as dismissed for |
| 991 | // the task's latest known activity snapshot. |
| 992 | func (m *Service) DismissTask(ctx context.Context, id string, actor ActorContext) (TriageState, error) { |
| 993 | return m.mutateTaskTriage(ctx, id, actor, func(state *TriageState, latestActivity time.Time) { |
| 994 | state.Read = true |
| 995 | state.Dismissed = true |
| 996 | state.LastSeenActivityAt = latestActivity |
| 997 | }) |
| 998 | } |
| 999 | |
| 1000 | func (m *Service) mutateTaskTriage( |
| 1001 | ctx context.Context, |
nothing calls this directly
no test coverage detected