Skip to content
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

Please make the kvStore watcher async #744

Open
thierryba opened this issue Apr 11, 2024 · 1 comment
Open

Please make the kvStore watcher async #744

thierryba opened this issue Apr 11, 2024 · 1 comment
Labels
proposal Enhancement idea or proposal

Comments

@thierryba
Copy link

Proposed change

make another call to watch for keys that sets up a callback.
Today kvStore_Watch and kvStore_WatchAll are blocking, which is not ideal.

Use case

If I want to watch different values from 1 or more buckets, today I have 2 solutions:

  • create N threads
  • listen to the $KVSTORE subjects and do it manually (but it is not perfect and does not for instance get the initial value)

Contribution

No response

@thierryba thierryba added the proposal Enhancement idea or proposal label Apr 11, 2024
@Kazmirchuk
Copy link

FYI this is a duplicate of #676

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

2 participants