# Functions
No description provided by the author
NewScheduler gives us a new TreeScheduler and SchedulerMetrics when given an Executor, a SchedulableService, and zero or more options.
No description provided by the author
ValidSchedule returns an error if the cron string is invalid.
WithMaxConcurrentWorkers is an option that sets the max number of concurrent workers that a TreeScheduler will use.
WithOnErrorFn is an option that sets the error function that gets called when there is an error in a TreeScheduler.
WithTime is an option for NewScheduler that allows you to inject a clock.Clock from ben johnson's github.com/benbjohnson/clock library, for testing purposes.
# Structs
No description provided by the author
Item is a task in the scheduler.
NoopScheduler is a no-op scheduler.
Schedule is an object a valid schedule of runs.
No description provided by the author
TreeScheduler is a Scheduler based on a btree.
# Interfaces
Executor is a system used by the scheduler to actually execute the scheduleable item.
Schedulable is the interface that encapsulates work that is to be executed on a specified schedule.
SchedulableService encapsulates the work necessary to schedule a job.
Scheduler is a example interface of a Scheduler.