//! Graceful shutdown signaling for WebSocket server tasks.

use tokio::sync::watch;

/// Creates a shutdown watch channel; sender flips to `true` to stop background tasks.
pub fn channel() -> (watch::Sender<bool>, watch::Receiver<bool>) {
    watch::channel(false)
}
