Skip to main content

dispatch_runtime

Function dispatch_runtime 

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

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