pub struct WorkflowExecutor { /* private fields */ }
Expand description
WorkflowExecutor - Temporalベースワークフロー実行エンジン
Implementations§
Source§impl WorkflowExecutor
impl WorkflowExecutor
pub fn new( activity_registry: Arc<ActivityRegistry>, state_manager: Arc<WorkflowStateManager>, ) -> Self
Sourcepub fn materialize_params(
&self,
params: &Value,
context: &ExecutionContext,
) -> Result<Value, WorkflowError>
pub fn materialize_params( &self, params: &Value, context: &ExecutionContext, ) -> Result<Value, WorkflowError>
Resolves parameters that might be context references.
Sourcepub async fn start_workflow(
&self,
workflow_ir: &WorkflowIR,
inputs: HashMap<String, Value>,
) -> Result<WorkflowExecutionId, WorkflowError>
pub async fn start_workflow( &self, workflow_ir: &WorkflowIR, inputs: HashMap<String, Value>, ) -> Result<WorkflowExecutionId, WorkflowError>
ワークフロー実行開始
Auto Trait Implementations§
impl Freeze for WorkflowExecutor
impl !RefUnwindSafe for WorkflowExecutor
impl Send for WorkflowExecutor
impl Sync for WorkflowExecutor
impl Unpin for WorkflowExecutor
impl !UnwindSafe for WorkflowExecutor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more