stepper

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Default

type Default struct{}

func (*Default) Run

func (d *Default) Run(_ *context.Context) (err error)

func (*Default) Runnable

func (d *Default) Runnable() bool

type Delay

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

func NewDelay

func NewDelay(delay time.Duration) *Delay

func (*Delay) Run

func (d *Delay) Run(_ *context.Context) (err error)

func (*Delay) Runnable

func (d *Delay) Runnable() bool

type Stepper

type Stepper interface {
	Runnable() bool

	Run(ctx *context.Context) (err error)
}

Jump to

Keyboard shortcuts

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