Skip to content

Conversation

@achingbrain
Copy link
Member

If query results are consumed from a for await..of-style loop, and that loop is exited from before the results are complete, ensure we abort any running sub-queries.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

@achingbrain achingbrain requested a review from a team as a code owner January 5, 2024 06:16
@achingbrain achingbrain force-pushed the fix/ensure-query-is-aborted-on-early-exit branch from ae2de87 to ff533c7 Compare January 5, 2024 07:27
If query results are consumed from a `for await..of`-style loop,
and that loop is exited from before the results are complete, ensure
we abort any running sub-queries.
@achingbrain achingbrain force-pushed the fix/ensure-query-is-aborted-on-early-exit branch from ff533c7 to e2cc0e6 Compare January 5, 2024 07:27
@achingbrain achingbrain merged commit 388d02b into main Jan 5, 2024
@achingbrain achingbrain deleted the fix/ensure-query-is-aborted-on-early-exit branch January 5, 2024 18:47
@achingbrain achingbrain mentioned this pull request Jan 5, 2024
This was referenced Jan 18, 2024
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.

3 participants