Function freya::prelude::schedule_update_any
pub fn schedule_update_any() -> Arc<dyn Fn(ScopeId) + Sync + Send>
Expand description
Schedule an update for any component given its ScopeId
.
A component’s ScopeId
can be obtained from the current_scope_id
method.
Note: Unlike needs_update
, the function returned by this method will work outside of the dioxus runtime.