control

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwaitInterval

func AwaitInterval(ctx actors.Ctx, name string, cfg ScheduleConfig) error

AwaitInterval sleeps until the named schedule is due and persists the next run timestamp using search attributes so the cadence survives Continue-As-New.

Types

type ScheduleConfig

type ScheduleConfig struct {
	Every time.Duration
}

ScheduleConfig describes a durable interval gate for control workflows.

Jump to

Keyboard shortcuts

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