Skip to main content

register_synch_callback

Function register_synch_callback 

Source
pub fn register_synch_callback(callback: SynchCallback) -> Result<()>
Expand description

Registers a synchronization callback to be called on time synchronization events.

Only one callback per application. Should only be called from the app’s main thread; distribute timing to child tasks internally.