pub fn repeat<F, T>(f: fn() -> F, interval: Duration) -> Subscription<T>Expand description
Returns a Subscription that runs the given async function at a
set interval; producing the result of the function as output.
pub fn repeat<F, T>(f: fn() -> F, interval: Duration) -> Subscription<T>Returns a Subscription that runs the given async function at a
set interval; producing the result of the function as output.