func (ProgressTracker) Done(ctx context.Context, n uint64) error
Mark work units as completed for a progress indicator.
Parameters
The task execution context.
The number of completed work units to add.
Returns
An error if the context is not a task execution context.
progress := workflows.DefaultProgress()
err := progress.Done(ctx, 1)