Skip to main content

dispatch_adapter

Function dispatch_adapter 

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

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