-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
To reproduce:
- On the feed page, start a text-based search.
- when an item shows up, click the link to navigate to its page.
- View the network control panel in the browser.
Expected:
- No more search-related traffic
Observed:
- The browser is still loading posts from my feed trying to perform the brute-force search.
This is probably because of the current use of Async Generators that don't have a mechanism to get canceled.
https://seg.phault.net/blog/2018/03/async-iterators-cancellation/ has a good writeup.
Maybe I can just reuse the AbortController and pass that into the async generators, and make sure to abort it when the page is unloaded.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working