[core] settings: Callback bindings #3523
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue
One of the greater annoyances of the settings API is the total lack of callbacks. You have to manually update the setting every single time.
A theoretical callback API could be something as simple as storing a
std::functionconsumer within the Setting class and calling it every time the value changes. These could be registered with e.g.