//! The epoch ticker: the clock every plugin deadline is measured in.
//!
//! Wasmtime's epoch interruption is a counter the host advances; a store
//! traps when the counter passes its deadline. Nothing advances it but this
//! task, so it runs under the supervisor as `Required`: a dead ticker would
//! silently disable every deadline, and `/readyz` should say so rather than
//! the next spinning guest.
use Arc;
use ;
use crate;
pub const TASK_NAME: &str = "plugin_epoch_ticker";
/// Start advancing `runtime`'s epoch every [`EPOCH_TICK`] until shutdown.