pub fn mutate_settings<T>( mutator: impl FnOnce(&mut Settings) -> Result<T>, ) -> Result<T>
Applies a mutation to the shared SETTINGS store and broadcasts the resulting snapshot on SETTINGS_CHANGED if it succeeds.
SETTINGS
SETTINGS_CHANGED