Help us shape the future of Go! Take the 2026 Go Developer Survey

execution

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package execution owns Restate attempts and suspension-safe runtime state.

Package execution owns Restate attempts and suspension-safe runtime state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	// Registry supplies immutable handlers and actual-attempt telemetry.
	Registry *workflow.Registry
	// Service resolves exact case-sensitive native service names.
	Service func(string) string
	// Active joins the shared Cancel handler to local active attempts.
	Active *sync.Map
}

Environment supplies registry, service naming and local cancellation state.

func (Environment) Definition

func (environment Environment) Definition(handler workflow.WorkflowHandler) restatesdk.ServiceDefinition

Definition builds the service of one workflow.

Jump to

Keyboard shortcuts

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