pub async fn serve_bound_with_shutdown<C>(
listener: TcpListener,
state: AppState<C>,
shutdown: impl Future<Output = ()> + Send + 'static,
) -> Result<(), Error>Expand description
Serve the RDF4J HTTP facade on an already-bound listener until
shutdown resolves or the listener fails.
Same drain semantics as serve_with_shutdown: stops accepting once
shutdown fires, then waits for outstanding requests; long-lived kernel
WebSocket tunnels never “finish”, so a bounded exit races and drops this
future.