multiplatform-settings icon indicating copy to clipboard operation
multiplatform-settings copied to clipboard

Add listener support to WindowsSettings

Open russhwolf opened this issue 4 years ago • 2 comments

Probably using RegNotifyChangeKeyValue. It may take some effort to massage the Windows API to fit the pattern used on other platforms.

russhwolf avatar Apr 26 '20 22:04 russhwolf

I've started prototyping stuff here. I've tried an implementation where each listener gets its own worker, which seems to work alright but I worry it might get heavy if someone tries setting lots of listeners, and it had some flakiness when I tried to load-test it. I think I want to look into an alternative where listeners all run on a single dedicated worker, but that gets more complicated to implement. Given timing and where the ecosystem is, there's a good chance this ends up being built in a way that only supports the new memory manager.

Ideas and contributions welcome.

russhwolf avatar May 02 '22 03:05 russhwolf

This is the last thing I would like to have done before removing @ExperimentalSettingsImplementation from RegistrySettings.

russhwolf avatar Jul 17 '22 21:07 russhwolf