Skip to content
Snippets Groups Projects

search: simplify event loop

Merged Warren Gifford requested to merge cc/simplify-event-loop into main

Created by: camdencheek

Just a small refactor to simplify the main streaming event loop to make it more clear what the exit conditions are, etc.

  • Pulls event handling into a closure
  • Simplifies the for/select loop to keep variables scoped
  • Inlines matchesAppend because it is a single-line closure used in one place

cc @keegancsmith @stefanhengl

Merge request reports

Merged by avatar (Jul 13, 2025 6:21am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading