Skip to content

Glossary: JavaScript in the Browser

Out-of-date answers (race)

Also written: race condition, stale requests

When searching as someone types, answers can arrive out of order, so an old slow answer replaces a newer one. The fix is to abort the previous request.

Where the book teaches it

Related terms

AbortController