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

feat: Granular subscription tracking #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

414owen
Copy link

@414owen 414owen commented Jan 18, 2024

This commit makes it so that:

  • {add,remove}ChannelsAndWait only wait for the channels they care about, not every channel.
  • You can check which channels are waiting for subscription acknowledgements via pending{Pattern,}Channels

I think it should work on GHC>=7.4 (because of ConstraintKinds), but admittedly I've only tested it with GHC 9.4.4.
If more compatibility is needed just let me know, and I'll add more CPP instead.

This commit makes it so that:

* {add,remove}ChannelsAndWait only wait for the channels they care about,
  not every channel.
* You can check which channels are waiting for subscription
  acknowledgements.
@414owen 414owen force-pushed the os/granular-subscription-tracking branch from 20d5388 to 9dbbb99 Compare January 18, 2024 09:32
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

Successfully merging this pull request may close these issues.

1 participant