Skip to main content

paused_activity

Function paused_activity 

Source
pub fn paused_activity(
    status: &MetaMapType,
    mute: Option<&Mute>,
    now_ms: u64,
) -> u64
Expand description

What the agent’s status line and a mute add to its clock (unix ms; 0 for nothing). A new status line is something the agent did, so it counts at the time it was set. A waiting line with its time, and a mute, stop the clock: while one is in force the agent counts as active now, and when it ends the clock runs again from its end.