Versions in this module Expand all Collapse all v1 v1.0.11 Jun 1, 2022 v1.0.10 Jun 1, 2022 Changes in this version + var ErrInterruput = errors.New("run interruput") + var ErrTimeOut = errors.New("run time out") + type TimerRunner struct + func New(tm time.Duration) *TimerRunner + func (r *TimerRunner) Add(tasks ...func()) + func (r *TimerRunner) Start() error + func (r *TimerRunner) StartAsync(callback func(err error))