scheduler

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func New

func New(source spec.JobSource, worker spec.WorkerInfo, tickInterval time.Duration, buffer int) *Scheduler

func (*Scheduler) C

func (s *Scheduler) C() <-chan spec.Lease

func (*Scheduler) Run

func (s *Scheduler) Run(ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL