Skip to main content

Module execution

Module execution 

Source
Expand description

Pure execution service layer for algocline-core.

This module provides the ExecutionService trait and all associated value types for the new service layer design. It coexists with the legacy types in crate::state and crate::engine_api without modifying them (parallel evolution).

§Module structure

§Access path

Types in this module are accessed as algocline_core::execution::Foo. They are not re-exported at the top level of algocline_core to avoid naming conflicts with legacy top-level types (e.g., QueryResponse).

Re-exports§

pub use cancel::CancelCode;
pub use cancel::CancelInfo;
pub use cancel::CancelReason;
pub use cancel::FailureInfo;
pub use cancel::FailureKind;
pub use error::AwaitError;
pub use error::CancelError;
pub use error::ObserveError;
pub use error::ObserverRecvError;
pub use error::ResumeError;
pub use error::SpawnError;
pub use error::StateError;
pub use pause::PauseInfo;
pub use pause::PauseKind;
pub use pause::PausePrompt;
pub use progress::ObserverHandle;
pub use progress::ProgressEvent;
pub use resume::QueryResponse;
pub use resume::ResumeOutcome;
pub use resume::ResumePayload;
pub use resume::TerminalOutcome;
pub use service::ExecutionService;
pub use session_id::SessionId;
pub use spec::ScenarioRef;
pub use spec::SessionSpec;
pub use spec::SpecKind;
pub use state::ExecutionResult;
pub use state::ExecutionState;
pub use state::ExecutionStateTag;
pub use crate::TokenUsage;

Modules§

cancel
Cancellation and failure types for the ExecutionService layer.
error
Dedicated error enums for each ExecutionService verb.
pause
Pause-related types for the ExecutionService layer.
progress
Progress observation types for the ExecutionService layer.
resume
Resume-related types for the ExecutionService layer.
service
ExecutionService trait — the primary verb surface of the new service layer.
session_id
Session identifier type for the ExecutionService layer.
spec
Session specification types for the ExecutionService layer.
state
Execution state types (v2) for the ExecutionService layer.