loop

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoTaskWithRetry

func DoTaskWithRetry(c context.Context, name string, f func(context.Context) error, failDuration time.Duration)

func InfiniteLoop

func InfiniteLoop(ctx context.Context, name string, f func(context.Context) error, reDoDuration, failDuration time.Duration) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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