Skip to main content

subscribe

Function subscribe 

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

Registers notify to be called each time the Renderer reports a different zoom.