-
Notifications
You must be signed in to change notification settings - Fork 592
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
Sequence Number non-blocking #1675
Conversation
f036020
to
5326343
Compare
@danielmarbach if you have time to review my commit, that would be great. I figure now would be the time to make the event handlers for This PR has a positive effect on the performance of the |
I see what I can do over the weekend |
Thanks, but don't worry about it until next week, really 😄 I've bumped the "hopeful" shipping date for v7 to the 20th. |
@lukebakken I reviewed it and basically that change opened a whole can of worms. When I looked at the change, I started wondering why there are synchronous and non-synchronous event handlers and exception handlers now on the channel interface and wondered whether it makes sense to make them all async. This lead me then down the path or realizing the internal session interface event might also need to change which then has ripple effects on the connection events as well. I think the change you pushed is unrelated to this PR and it is better to roll that commit back and have a dedicated follow-up PR (should you decide to continue pushing down that route). A bunch of thoughts I had during the review of the changes:
To me, the API surface feels unfinished |
Sure, I can revert it. I tried making all event handlers async a while back and it just plain didn't work. |
For async event handlers, you have to manually invoke and await every delegate in the invocation list. But it works. |
@paulomorgado That's already solved in the |
The |
c22949f
to
5326343
Compare
I will merge this as CI passes. We can deal with async events in a later version of this library (or, wait until someone demonstrates a need). Thanks everyone. |
Thank you @danielmarbach !!! |
Proposed Changes
Follow through on #1662
Types of Changes
What types of changes does your code introduce to this project?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask on the
mailing list. We're here to help! This is simply a reminder of what we are
going to look for before merging your code.
CONTRIBUTING.md
documentFurther Comments
If this is a relatively large or complex change, kick off the discussion by
explaining why you chose the solution you did and what alternatives you
considered, etc.