reset timer on output

This commit is contained in:
Joel Wetzell
2025-11-25 06:43:22 -06:00
parent a807f541a1
commit 37f7fef743

View File

@@ -65,5 +65,6 @@ func (t *Timer) Run() error {
} }
func (t *Timer) Output(payload any) error { func (t *Timer) Output(payload any) error {
return fmt.Errorf("timer output is not implemented") t.timer.Reset(time.Millisecond * time.Duration(t.Duration))
return nil
} }