pub async fn service_request( req: JsValue, config: ServiceConfig, ) -> Result<JsValue, JsValue>
Entrypoint for wasm-service. Converts parameters from javascript into Request, invokes app-specific Handler, and converts Response to javascript. Also sends logs to Logger and runs deferred tasks.
Response