Skip to content

Make Result[Symbol.asyncIterator].return wait for Summary #965

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

Merged
merged 2 commits into from
Jul 11, 2022

Conversation

bigmontz
Copy link
Contributor

The lack of result wait for result summary was causing confusion with API usage. When await it.return() is called, the caller expect the result summary to be return by the method call.

The lack of result wait for result summary was causing confusion with API usage. When `await it.return()` is called, the caller expect the result summary to be return by the method call.
Copy link
Contributor

@OskarDamkjaer OskarDamkjaer left a comment

Choose a reason for hiding this comment

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

Looking good! ⭐

@bigmontz bigmontz merged commit d417920 into neo4j:5.0 Jul 11, 2022
@bigmontz bigmontz deleted the 5.0-improve-async-iterator-behaviour branch July 11, 2022 13:57
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