aion
Transport-agnostic Aion workflow engine with durability, replay, timers, and supervision. The crate embeds the BEAM runtime, loads .aion workflow packages, wires event stores and activity dispatchers, and exposes engine APIs that servers and tests can use without depending on a particular transport.
Install
[]
= "0.4.0"
Key public types
EngineBuilderandEngineconstruct and operate the workflow engine.RuntimeConfig,RuntimeHandle, andPidconfigure and identify runtime processes.load_package,LoadedWorkflow, andLoadedWorkflowsregister package contents.Registry,WorkflowHandle, and supervision types track workflow residency and lifecycle.ActivityDispatcher,EventPublisher,SignalRouter, andQueryServiceare engine seams.
Minimal usage
use ;
use InMemoryStore;
let engine = new
.with_store
.with_runtime_config
.build
.await?;
# Ok::