Skip to main content

subscribe

Function subscribe 

Source
pub fn subscribe(
    notify: Arc<dyn Fn() + Send + Sync>,
) -> DesignSystemSubscription
Expand description

Registers notify to be called each time the Renderer reports a different design system. What notify does is the runtime’s business: mark a scope dirty, most often.