Expand description
Node state management and lifecycle tracking.
This module defines the state machine for node execution and provides helper functions for emitting state updates.
§State Machine
Nodes transition through these states during their lifecycle:
Initializing
↓
Ready ──────────┐
↓ │
Running ←──┐ │
↓ │ │
Recovering ──┘ │
↓ │
Degraded │
↓ │
Failed ←─────────┘
↓
StoppedModules§
- state_
helpers - Helper functions for emitting node state updates. These functions reduce boilerplate when sending state updates from nodes.
Structs§
- Node
State Update - A state update message sent by a node to report its current state. These updates are used for monitoring, debugging, and UI visualization.
Enums§
- Node
State - Represents the runtime state of a node in the pipeline.
- Stop
Reason - Why a node entered the
Stoppedstate.