---
title: "markComplete(_:at:)"
framework: workoutkit
role: symbol
role_heading: Instance Method
path: "workoutkit/workoutscheduler/markcomplete(_:at:)"
---

# markComplete(_:at:)

Marks the workout as complete.

## Declaration

```swift
final func markComplete(_ workout: WorkoutPlan, at: DateComponents) async
```

## See Also

### Managing scheduled workouts

- [scheduledWorkouts](workoutkit/workoutscheduler/scheduledworkouts.md)
- [maxAllowedScheduledWorkoutCount](workoutkit/workoutscheduler/maxallowedscheduledworkoutcount.md)
- [remove(_:at:)](workoutkit/workoutscheduler/remove(_:at:).md)
- [removeAllWorkouts()](workoutkit/workoutscheduler/removeallworkouts().md)
