Files
dev_agent ecf7c6be89
CI / ci (push) Successful in 8m28s
Feature 20: Scheduler and Weekly Automation (#182)
Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com>
2026-10-10 19:30:23 -04:00

10 lines
226 B
Go

package scheduler
import "time"
// SetClock makes now the clock and after the timer s fires by.
func SetClock(s *Scheduler, now func() time.Time, after func(time.Duration) <-chan time.Time) {
s.now = now
s.after = after
}