pub fn register_wf<F: Into<WorkflowFunction>>(
        &mut self,
        workflow_type: impl Into<String>,
        wf_function: F,
    ) {
        self.workflow_half
            .workflow_fns
            .insert(workflow_type.into(), wf_function.into());
    }
/// Register a Workflow function to invoke when the Worker is asked to run a workflow of
/// `workflow_type`
Register a Workflow function to invoke when the Worker is asked to run a workflow of
`workflow_type`
Register a Workflow function to invoke when the Worker is asked to run a workflow of ` workflow_type `
pub fn register_wf<F: Into<WorkflowFunction>>(
        &mut self,
        workflow_type: impl Into<String>,
        wf_function: F,
    ) {
        self.workflow_half
            .workflow_fns
            .insert(workflow_type.into(), wf_function.into());
    }
pub fn register_wf < F : Into < WorkflowFunction > > ( & mut self , workflow_type : impl Into < String > , wf_function : F , ) { self . workflow_half . workflow_fns . insert ( workflow_type . into ( ) , wf_function . into ( ) ) ; }
Register a Workflow function to invoke when the Worker is asked to run a workflow of
`workflow_type`
Register a Workflow function to invoke when the Worker is asked to run a workflow of ` workflow_type `
&mut self
workflow_type
impl Into<String>
wf_function
F
&mut self
workflow_type
impl Into<String>
wf_function
F