statewatch

package
v0.1.0-proto2e Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForPendingThenTerminal

func WaitForPendingThenTerminal(
	ctx context.Context,
	bus *eventbus.EventBus[*anypb.Any],
	agentID string,
	pendingTimeout time.Duration,
	finalTimeout time.Duration,
) (*protopkg.LifecycleStatus, error)

WaitForPendingThenTerminal waits for an agent to transition to a PENDING state (if not already there/past it) and then to a terminal state.

Types

This section is empty.

Jump to

Keyboard shortcuts

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