Mr. Tono types in the warung’s search box and each letter sends a runner to the market: whose answer is last on the board, without abort() and with a real…
Try it in this playground
See an old result overwrite the new one Without abort(), the slowest answer comes back last and the board shows a stale result.
Abort the old one and catch its AbortError With abort() and an err.name check, cancellations pass quietly.
Turn the err.name check off The AbortError becomes an 'Error!' toast too: a false alarm for the user.
Use one controller for everything After the first abort(), the next fetch with the same signal is rejected at once.