Skip to main content

serve

Function serve 

Source
pub async fn serve(
    listener: TcpListener,
    config: Config,
    sources: Sources,
    shutdown: impl Future<Output = ()>,
) -> Result<()>
Expand description

Serves the gRPC API on listener until shutdown resolves.