PropertySet::propertyChanged lambda?

I have a property to set the resolution of the plugin’s spectrum analyzer… and I’d like all instances of the plugin to update if one of them has this option changed…

I was wondering if I used a SharedResourcePointer for my ApplicationProperties I could get a lambda callback when any of the PropertySet values changed to all instances of the plugin?

Putting this up for discussion before making this an official Feature Request.

Cheers,

Rail

So using a SharedResourcePointer and ChangeListener I can achieve my goal…

 SharedResourcePointer<ApplicationProperties>  m_pAppProperties;
    PropertiesFile* pPropertyFile = m_pAppProperties->getUserSettings();
    
    if (pPropertyFile != nullptr)
        pPropertyFile->addChangeListener (this);

But perhaps a lambda would be better??

Cheers,

Rail