
progress
Index
Constants
Outcome values reported on a PhaseEnd step.
func Track
Track brackets one unit of work: it emits a start step, runs fn, then emits an end step with the status fn returns and the elapsed time. fn always runs, so a nil observer disables reporting without changing behavior.
type Observer
Observer receives a start and then an end step for each unit of work. A nil Observer means progress reporting is disabled.
type Phase
Phase marks the start or end of one unit of work.
type Step
Step is one progress notification for a single unit of work. Status and Duration are set on PhaseEnd only.
Generated by gomarkdoc