Angular / RxJS mergeMap vs switchMap Search Race Bug
What's Broken (Symptom)
Using `mergeMap`-style fire-all concurrency in a typeahead causes an older slow HTTP response ("re") to overwrite the newer fast query ("react") results.
Expected Behavior
- • Cancel/ignore stale in-flight query responses (equivalent to RxJS `switchMap`) using a monotonic request token or abort check.
Debugging Hints (0/2 used)
Try spotting the bug in the editor first. Need a nudge? Reveal Hint 1 anytime.
Root Cause Breakdown
Pass all 1 automated verification checks on the right to unlock the full Root Cause explanation.
Automated Bug Verification
1 Checks Ready- Ignores slow outdated search response when newer query resolves firstLatest term "react" wins over slower earlier "re".
Live Sandboxed PreviewCtrl + Enter to verify
Console Output0 log(s)
No console output yet. Run Preview or Verify Bug Fix.