Skip to main content

Crate autumn_harvest_macros

Crate autumn_harvest_macros 

Source
Expand description

Procedural macros for the autumn-harvest workflow engine.

This crate provides attribute macros to define workflows, activities, DAGs, query handlers, and update handlers, as well as collection macros to bundle them for registration.

Macros§

activities
Collects multiple activity functions into a Vec<ActivityInfo>.
dags
Collects multiple DAG builder functions into a Vec<DagInfo>.
queries
Collects multiple query handler functions into a Vec<QueryHandlerInfo>.
updates
Collects multiple update handler functions into a Vec<UpdateHandlerInfo>.
workflows
Collects multiple workflow functions into a Vec<WorkflowInfo>.

Attribute Macros§

activity
Marks an async function as a Harvest activity.
dag
Marks a function as a Harvest DAG builder.
query
Marks a synchronous function as a read-only Harvest query handler (issue #346).
signal
Marks a function as a Harvest workflow signal handler.
update
Marks an async function as a Harvest update handler (issue #346).
workflow
Marks an async function as a Harvest workflow.