Skip to main content

apply

Function apply 

Source
fn apply(
    cur: &mut Option<Pause>,
    on: bool,
    by: Option<&str>,
    now_ms: i64,
) -> bool
Expand description

Move cur to on or off. Returns whether that changed anything: turning it on again keeps who turned it on first, and off again is nothing.