pub fn spawn_local(future: impl Future<Output = ()> + 'static) -> TaskHandleExpand description
Runs future on the UI thread. It is cancelled when the current reactive
scope (e.g. the component that started it) is disposed. A store’s action
is called in its caller’s scope: it spawns with
Store::spawn instead.
§Panics
Outside a Ui: call it from a mounted view or a task, or use
Ui::spawn_local.