Versions in this module Expand all Collapse all v0 v0.5.3 Jan 19, 2023 Changes in this version + var KiT_RunState = kit.Enums.AddEnum(RunStateN, kit.NotBitFlag, nil) + type PauseNotifyFn func() + type RunState int + const Paused + const RunStateN + const Running + const Stepping + const Stopped + func (i RunState) String() string + type Stepper struct + PauseNotifyFn PauseNotifyFn + RunState RunState + StepGrain int + StepsPer int + StopCheckFn StopCheckFn + func New() *Stepper + func (st *Stepper) Active() bool + func (st *Stepper) Enter(state RunState) + func (st *Stepper) Init() *Stepper + func (st *Stepper) Pause() + func (st *Stepper) ResetParams(nSteps int, grain int) + func (st *Stepper) Start(grain int, nSteps int) + func (st *Stepper) StepPoint(grain int) (stop bool) + func (st *Stepper) Stop() + type StopCheckFn func(grain int) (matched bool)