Skip to content

workflows.SetTaskDisplay

func SetTaskDisplay(ctx context.Context, display string) error

Set the display label of the currently executing task.

This function is intended to be used inside a task Execute method.

ctx context.Context required

The task execution context.

display string required

The display label to set for the current task.

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