schedule

package
v0.1.0-preview.4 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package schedule defines canonical descriptors for generated scheduled execution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixedDelay

func FixedDelay() sdk.Definition

FixedDelay marks a provider-owned method for fixed-delay execution.

Delay is measured after one invocation completes. Generated scheduling owns cancellation, panic containment, overlap prevention, graceful shutdown, and observations. Duration values use time.ParseDuration syntax.

// @import { FixedDelay } from "github.com/spice-framework/spice/annotation/schedule"
// @FixedDelay(delay="5m", initialDelay="30s")

func FixedDelayHandler

func FixedDelayHandler(
	_ context.Context,
	invocation sdk.Invocation,
) (sdk.Result, error)

FixedDelayHandler contributes one generated scheduled method.

Types

This section is empty.

Jump to

Keyboard shortcuts

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