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

Expose subscriber and publisher counts #11

Closed
Edholm opened this issue Mar 10, 2022 · 2 comments
Closed

Expose subscriber and publisher counts #11

Edholm opened this issue Mar 10, 2022 · 2 comments

Comments

@Edholm
Copy link

Edholm commented Mar 10, 2022

Would it be possible to add functions for getting the subscriber/publisher count from a subscription/publisher? Or maybe it is possible already, but I missed it? 🤔

It looks like this functionality exists (see here).

My goal is to be able to write lazy publishers, that doesn't actually publish anything unless there are subscribed subscribers. Very useful for expensive computations that could be avoided if no one is listening in on the other side.

Cheers!

@lassilaiho
Copy link
Contributor

We will add the feature into our backlog but it is currently not our top priority.

@lassilaiho
Copy link
Contributor

This is now implemented.

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

No branches or pull requests

2 participants