Skip to content

fix: abort routing operations#1079

Merged
achingbrain merged 1 commit into
mainfrom
fix/abort-routing-operations
Jul 4, 2026
Merged

fix: abort routing operations#1079
achingbrain merged 1 commit into
mainfrom
fix/abort-routing-operations

Conversation

@achingbrain

Copy link
Copy Markdown
Member

When a routing operation is parallelised with Promise.any, the first result is returned but the other promises will continue to run so fire their abort signals when a result is returned.

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

When a routing operation is parallelised with `Promise.any`, the
first result is returned but the other promises will continue to
run so fire their abort signals when a result is returned.
@achingbrain
achingbrain requested a review from a team as a code owner July 4, 2026 17:15
@achingbrain
achingbrain merged commit f4c49cc into main Jul 4, 2026
18 checks passed
@achingbrain
achingbrain deleted the fix/abort-routing-operations branch July 4, 2026 17:30
@achingbrain achingbrain mentioned this pull request Jul 4, 2026
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.

1 participant