pub type SettingsReloadSink = Arc<dyn Fn(PathBuf) + Send + Sync + 'static>;Expand description
Sink type invoked on the notify worker thread whenever a watched
settings directory reports a create/modify event. Implementations
must be thread-safe; teksilo-app’s implementation posts the path
through the winit EventLoopProxy as AppEvent::SettingsReload,
which hops back onto the UI thread where the (single-threaded,
Rc-based) SettingsRegistry actually lives.
Aliased Type§
pub struct SettingsReloadSink { /* private fields */ }