Execute method.
progress := workflows.DefaultProgress()
if err := progress.Add(ctx, 10); err != nil {
return err
}
if err := progress.Done(ctx, 1); err != nil {
return err
}
workflows
workflows.DefaultProgress
progress := workflows.DefaultProgress()
if err := progress.Add(ctx, 10); err != nil {
return err
}
if err := progress.Done(ctx, 1); err != nil {
return err
}
Was this page helpful?