<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Async on Tokenise</title><link>https://tokenise.rosvetic.com/tags/async/</link><description>Recent content in Async on Tokenise</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sun, 08 Nov 2026 11:05:00 +0000</lastBuildDate><atom:link href="https://tokenise.rosvetic.com/tags/async/index.xml" rel="self" type="application/rss+xml"/><item><title>Debug an async race by making it fail on demand: deferred promises, one failing test, then the fix</title><link>https://tokenise.rosvetic.com/posts/debug-async-race-deterministic-repro-typescript/</link><pubDate>Sun, 08 Nov 2026 11:05:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/debug-async-race-deterministic-repro-typescript/</guid><description>&lt;p&gt;The bug report says the search box sometimes shows results for the wrong query. Not always. Not on the developer&amp;rsquo;s machine. Someone types &amp;ldquo;ab&amp;rdquo;, pauses, types &amp;ldquo;c&amp;rdquo;, and the list that settles on screen belongs to &amp;ldquo;ab&amp;rdquo;. Paste that report into an agent and a typical answer is a plausible patch (a debounce, a loading flag, a &lt;code&gt;useEffect&lt;/code&gt; cleanup) that nobody can show fixes anything, because nobody has shown the bug.&lt;/p&gt;</description></item></channel></rss>