trigger

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trigger

type Trigger interface {
	Next(TriggerContext) time.Time
}

func WithFixedDelay

func WithFixedDelay(interval time.Duration) Trigger

func WithFixedRate

func WithFixedRate(align, offset time.Duration, skipExpiredWindow bool) Trigger

type TriggerContext

type TriggerContext interface{}

Jump to

Keyboard shortcuts

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