Skip to content

OnChange Listener #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
skiz opened this issue Apr 3, 2025 · 1 comment · May be fixed by #193
Open

OnChange Listener #192

skiz opened this issue Apr 3, 2025 · 1 comment · May be fixed by #193

Comments

@skiz
Copy link

skiz commented Apr 3, 2025

Describe the feature request

I am attempting to support switching the log level for my application via an unleash flag. However unless there is a different approach to dealing with update hooks besides implementing my own timer, I am overlooking it.

I would like to use a callback such as OnChange or even OnUpdate to detect when flags are modified instead of testing for the flag in every log call regardless of the metrics.

Do you have any ideas on how to approach this?

Background

No response

Solution suggestions

No response

@skiz skiz linked a pull request Apr 3, 2025 that will close this issue
@FredrikOseberg FredrikOseberg moved this from New to In Progress in Issues and PRs Apr 9, 2025
@FredrikOseberg FredrikOseberg moved this from In Progress to Investigating in Issues and PRs Apr 9, 2025
Copy link

stale bot commented May 4, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Investigating
Development

Successfully merging a pull request may close this issue.

2 participants