//! Detect a "ctrl-c" notification or other reason to exit.
use crateResult;
/// Wait until a control-c notification is received, using an appropriate
/// runtime mechanism.
///
/// This function can have pretty kludgy side-effects: see
/// documentation for `tokio::signal::ctrl_c` and `async_ctrlc` for
/// caveats. Notably, you can only call this once with async_std.
pub async