pub fn spawn_local(fut: impl Future<Output = ()> + 'static)Expand description
Spawns a !Send future on the UI-thread local task queue, drained each
frame by the shell (ReactiveRuntime::pump_local). A thin wrapper over
any_spawner::Executor::spawn_local; must be called on the UI thread —
see frust_reactive::ReactiveRuntime::pump_local’s doc for the panic
this triggers off-thread.