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

[FIX] flow control/protocol messages now handled when they would be dispatched. #208

Merged
merged 3 commits into from
Oct 13, 2021

Conversation

aricart
Copy link
Member

@aricart aricart commented Oct 13, 2021

The queued iterator has a filterFn that tests the inbound message to see if it should be presented to the callback/iterator.
This enables the processing of the flow control messages when the user would have seen it, rather than when the protocol injected it into the subscription.

…ispatched.

The queued iterator has a filterFn that tests the inbound message to see if it should be presented to the callback/iterator.
This enables the processing of the flow control messages when the user would have seen it, rather than when the protocol injected it into the subscription.
@aricart aricart temporarily deployed to CI October 13, 2021 21:08 Inactive
@aricart aricart temporarily deployed to CI October 13, 2021 21:08 Inactive
@aricart aricart temporarily deployed to CI October 13, 2021 21:08 Inactive
@aricart aricart requested a review from kozlovic October 13, 2021 21:08
@aricart aricart temporarily deployed to CI October 13, 2021 21:12 Inactive
@aricart aricart temporarily deployed to CI October 13, 2021 21:12 Inactive
@aricart aricart temporarily deployed to CI October 13, 2021 21:12 Inactive
Changed the dispatchedFn to only be called if the protocolFilterFn allows the message to be presented.
@aricart aricart temporarily deployed to CI October 13, 2021 22:00 Inactive
@aricart aricart temporarily deployed to CI October 13, 2021 22:00 Inactive
@aricart aricart temporarily deployed to CI October 13, 2021 22:00 Inactive
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aricart aricart merged commit 195a44a into main Oct 13, 2021
@aricart aricart deleted the cb-filter branch October 13, 2021 22:23
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.

2 participants