aion-core
Pure domain model and shared vocabulary for Aion durable workflows. This leaf crate contains the identifiers, payload carrier, event vocabulary, workflow filters, schedules, search attributes, statuses, and error types used by servers, stores, SDKs, and workers.
Install
[]
= "0.4.0"
Key public types
WorkflowId,RunId,ActivityId, andTimerIdidentify workflow executions and side effects.PayloadandContentTypecarry serialized user data through events and APIs.EventandEventEnvelopedescribe durable history records.WorkflowFilter,WorkflowSummary, andWorkflowStatussupport visibility APIs.ScheduleConfig,TriggerSpec, and schedule policies model recurring starts.
Minimal usage
use ;
use json;
let workflow_id = new_v4;
let payload = from_json?;
let decoded = payload.to_json?;
assert_eq!;
# Ok::