pub async fn dispatch<T, R>( provider: &Arc<ServiceProvider>, req: T, ) -> Result<R>where T: IRequest<R> + Send + 'static, R: Serialize + Send + 'static,
Dispatch a request through the handler registry, pipeline, and call bridge.