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: Preserve order of metadata, messages, and call end with async interceptors #1986

Conversation

murgatroid99
Copy link
Member

The code already existed to ensure that the status/halfClose comes after the last message when interceptors do async processing. This change extends that to ensure that metadata is processed before both of those.

I also added handling for a call trying to output a status before the start method is called. Now the status waits for that, instead of getting sent into the void.

This fixes #1984 and #1985.

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.

None yet

2 participants