Function dioxus_core::prelude::schedule_update_any
source · pub fn schedule_update_any() -> Option<Arc<dyn Fn(ScopeId) + Send + Sync>>
Expand description
Schedule an update for any component given its ScopeId
.
A component’s ScopeId
can be obtained from use_hook
or the crate::scopes::ScopeState::scope_id
method.
This method should be used when you want to schedule an update for a component