routine

package module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Interval

func Interval(ctx context.Context, interval time.Duration, call func(context.Context))

func Parallel

func Parallel(calls ...func())

func Repeat added in v0.1.5

func Repeat(ctx context.Context, call func())

func Retry

func Retry(count int, ttl time.Duration, call func() error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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