package
1.0.0-beta.2
Repository: https://github.com/vanti-dev/sc-bos.git
Documentation: pkg.go.dev

# Functions

IsTerminal returns whether state implements Terminal and returns true for Terminal.IsTerminal.
NewManager returns a new Manager with an initial state.

# Variables

ErrTerminalState is returned from Stateful.WaitForStateChange if the currentState is a terminal state.

# Structs

Manager keeps track of changes to state.

# Interfaces

Stateful describes types that have a single state.
Terminal allows a state to indicate that it is a terminal state or not.