package
3.0.0+incompatible
Repository: https://github.com/donutloop/toolkit.git
Documentation: pkg.go.dev
# README
Usage
FIFO scheduler: schedule jobs that will be ran in FIFO order sequentially.
Example
package main
import (
"github.com/donutloop/toolkit/schedule"
"log"
)
func main() {
// creation of jobs
s := schedule.NewFIFOScheduler()
defer s.Stop()
for _, job := range jobs {
s.Schedule(job)
}
s.WaitFinish(100)
}