Skip to main content

HasWorkflowDefinition

Trait HasWorkflowDefinition 

Source
pub trait HasWorkflowDefinition: WorkflowDefinition {
    type Run: WorkflowDefinition;
}
Expand description

Indicates that a type is associated with a WorkflowDefinition, enabling typed signal, query, and update methods on WorkflowHandle.

Structs annotated with #[workflow_methods] implement this trait automatically.

Required Associated Types§

Implementors§