Skip to main content

use_inactivity_timer

Function use_inactivity_timer 

Source
pub fn use_inactivity_timer(
    _threshold_ms: u64,
    _on_inactive: impl Fn() + 'static,
) -> (Signal<InactivityState>, impl FnMut())
Expand description

Non-WASM fallback that does nothing (for testing)