Versions in this module Expand all Collapse all v0 v0.6.0 Jun 1, 2026 v0.5.0 May 30, 2026 v0.4.0 May 30, 2026 Changes in this version + type Config struct + Clock func() time.Time + MaxCatchup int + Rate int + Recorder Recorder + SubRate int + type Frame struct + Dt time.Duration + Now time.Time + Tick uint64 + type NoopRecorder struct + func (NoopRecorder) OnOverrun(int) + func (NoopRecorder) OnSubtick(SubtickFrame, time.Duration) + func (NoopRecorder) OnTick(Frame, time.Duration) + type Recorder interface + OnOverrun func(missedTicks int) + OnSubtick func(frame SubtickFrame, took time.Duration) + OnTick func(frame Frame, took time.Duration) + type Scheduler struct + func New(cfg Config, subs ...Subsystem) *Scheduler + func (s *Scheduler) Run(ctx context.Context) error + type Subsystem interface + Label func() string + Step func(frame Frame) + type SubtickFrame struct + SubIndex uint8 + type SubtickSubsystem interface + SubStep func(frame SubtickFrame)