runner

package
v0.0.0-...-3214d3a Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInterrupt = errors.New("received interrupt")
View Source
var ErrTimeout = errors.New("received timeout")

Functions

This section is empty.

Types

type Runner

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

func New

func New(d time.Duration) *Runner

func (*Runner) Add

func (r *Runner) Add(tasks ...func(int))

func (*Runner) Start

func (r *Runner) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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