schedule

package
v0.0.0-...-f9def7f Latest Latest
Warning

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

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

Documentation

Overview

Package schedule provides support for periodically running a function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Every

func Every(ctx context.Context, period time.Duration, f func(context.Context))

Every will call f periodically. The first call will be made immediately. Calls are made synchronously, so f will not be executed concurrently.

Types

This section is empty.

Jump to

Keyboard shortcuts

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