Package tasks is an easy to use in-process scheduler for recurring tasks in Go. Tasks is focused on high-frequency tasks that run quick, and often. The goal of Tasks is to support concurrent running tasks at scale without scheduler-induced jitter.
Tasks is focused on the accuracy of task execution. To do this each task is called within its own goroutine. This ensures that the long execution of a single invocation does not throw the schedule as a whole off track.
As the usage of this scheduler scales, it is expected to have a larger number of sleeping goroutines. As it is designed to leverage Go's ability to optimize goroutine CPU scheduling.
For simplicity, this task scheduler uses the time.Duration type to specify intervals. This allows for a simple interface and flexible control over when tasks are executed.
Tasks alternatives and similar packages
Based on the "Job Scheduler" category.
Alternatively, view tasks alternatives based on common mentions on social networks and blogs.
Do you think we are missing an alternative of Tasks or a related project?