Function freya::prelude::spawn_forever
pub fn spawn_forever(fut: impl Future<Output = ()> + 'static) -> Option<Task>
Expand description
Spawn a future that Dioxus won’t clean up when this component is unmounted
This is good for tasks that need to be run after the component has been dropped.