Skip to main content

Crate fluxpro_engine

Crate fluxpro_engine 

Source
Expand description

Workflow definitions, typed context values, and optional execution integrations.

The default build exposes models and the service-handler contract. Enable db for PostgreSQL persistence, runtime for execution, api for Actix Web routes, admin for inspection and maintenance, or full for all backend integrations. Enable editor for Leptos authoring and monitoring components (Rust 1.88+).

Start with models::process_def::ProcessDefinition and traits::node_handlers::service_node_handler::FluxproServiceHandler. The repository’s docs/nodes.md describes every node and its runtime behavior.

Modules§

admin
Paginated inspection and lease-aware queue maintenance for administration UIs.
api_handlers
Actix Web routes for definitions, instance startup, and signal submission.
archive
Batch export and deletion of technical history with signal deduplication protection.
config
Configuration for optional runtime and database integrations.
db_models
SQLx row models used by the PostgreSQL persistence layer.
db_service
PostgreSQL persistence, queue leases, and transactional signal admission.
editor
Embeddable workflow authoring and live monitoring for Leptos 0.8.
engine
Runtime construction, handler registration, and background queue execution.
impls
Adapters from engine errors to integration-specific responses.
migrations
Embedded, versioned migrations for the dedicated fluxpro schema.
models
Serializable workflow definitions, commands, identifiers, and execution values.
service
Workflow execution and conversion of typed context into Rhai values.
traits
Integration contracts implemented by host applications.