Skip to main content

dispatch_container

Function dispatch_container 

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

Dispatch a container scope request: extract params, call async handler (two-phase for Send safety).