//! Task spawning helpers that attach a name visible in `tokio-console`.
//!
//! `tokio::task::Builder::name` only exists under `--cfg tokio_unstable`
//! (the same flag `tokio-console` needs), so the named path is compiled in
//! only then; otherwise these fall back to plain `tokio::spawn`.
use Future;
use JoinHandle;
/// Spawn a task carrying `name`, shown in `tokio-console`.
/// Spawn a task carrying `name`, shown in `tokio-console`.