use OnceLock;
use Runtime;
static RUNTIME: = new;
/// Returns the shared tokio runtime used by the bluetooth scanner, the web
/// dashboard, and any other async subsystem.
///
/// On first call a multi-threaded runtime is lazily created. Callers must
/// ensure the runtime is dropped (process exit) before the terminal is
/// restored, otherwise background tasks may still write to the tty.