pub fn interval(period: Duration) -> IntervalExpand description
Create a recurring interval timer.
Returns a stream-like async function that yields at each tick. Used by the sync client for periodic keepalive and vector clock exchange.
- Native:
tokio::time::interval. - WASM: placeholder (will use
gloo_timers::future::IntervalStream).