Skip to main content

dispatch_workflow

Function dispatch_workflow 

Source
pub async fn dispatch_workflow<H: WorkflowHandler>(
    handler: &H,
    ctx: &EnvelopeContext,
    body: &DecodedRequestBody,
) -> Result<(Vec<u8>, Option<Continuation>)>
Expand description

Dispatch a Workflow request: deserialize, call handler, serialize response.