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

grpc-js: Ensure ordering between status and final message #2316

Merged

Conversation

murgatroid99
Copy link
Member

push uses process.nextTick to force the read event to be asynchronous. Because of this the status can show up in between when push is called and when the message is actually passed along. So, we stop the status from being output in that intervening time.

This issue was pointed out in #2315, but I think this is a better solution than the one suggested there.

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