Skip to main content

apply_workflow_definition

Function apply_workflow_definition 

Source
pub async fn apply_workflow_definition(
    workflow: &mut Workflow,
    provider: String,
    idempotency_key: String,
    spec: Option<impl Into<WorkflowDefinitionSpecOrBuilder>>,
) -> Result<WorkflowDefinition, GestaltError>
Expand description

Applies a workflow definition from a raw spec or an authored builder.