> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tilebox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ProgressTracker.Done

```go theme={"system"}
func (ProgressTracker) Done(ctx context.Context, n uint64) error
```

Mark work units as completed for a progress indicator.

## Parameters

<ParamField path="ctx" type="context.Context" required>
  The task execution context.
</ParamField>

<ParamField path="n" type="uint64" required>
  The number of completed work units to add.
</ParamField>

## Returns

An error if the context is not a task execution context.

<RequestExample>
  ```go Go theme={"system"}
  progress := workflows.DefaultProgress()
  err := progress.Done(ctx, 1)
  ```
</RequestExample>
