pub fn get_signal() -> Result<impl Stream<Item = Option<Signal>>, Error> {
    let mut ctrl_c = tokio::signal::windows::ctrl_c()?;
    Ok(stream::once(async move {
        ctrl_c.recv().await.map(|_| Signal::CtrlC)
    }))
}
A listener for Windows Console Ctrl-C events
crates/turborepo-signals/src/listeners.rs