pub fn spawn_shutdown_handler(proxy: &Arc<NntpProxy>) -> Receiver<()>Expand description
Spawn graceful shutdown handler
Waits for shutdown signal, then:
- Sends shutdown notification via channel
- Calls graceful_shutdown() on proxy
Returns the shutdown receiver channel.