Skip to content

ProgressTracker.Done

go
func (ProgressTracker) Done(ctx context.Context, n uint64) error

Mark work units as completed for a progress indicator.

Parameters

ctx context.Context required

The task execution context.

n uint64 required

The number of completed work units to add.

Returns

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

Type to search…