Trait YamlWorkflowCustomWorkerExecutor
Source pub trait YamlWorkflowCustomWorkerExecutor: Send + Sync {
// Required method
fn execute<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
handler: &'life1 str,
payload: &'life2 Value,
email_text: &'life3 str,
context: &'life4 Value,
) -> Pin<Box<dyn Future<Output = Result<Value, String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait;
}