pub fn use_interval<N>( interval: N, ) -> UseIntervalReturn<impl Fn() + Clone, impl Fn() + Clone, impl Fn() + Clone>where N: Into<MaybeSignal<u64>>,
Reactive counter increases on every interval.
Link to Demo
let UseIntervalReturn { counter, reset, is_active, pause, resume } = use_interval( 200 );
On the server this function will simply be ignored.