import "go.sbk.wtf/ambient-glance/scheduler"
type Activity interface { Run(ctx context.Context, d display.Display) error }
type App interface { Name() string Activate(id string) (Activity, error) Stop(id string) error }
type Intent struct { Name string Activity Activity }
type Scheduler interface { Run(context.Context) error }
func NewScheduler(display display.Display, log *log.Logger, apps ...App) (Scheduler, <-chan Status, chan<- Intent)
type Status struct { Name string ID string Deadline time.Time }
scheduler.go