As I work on implementing a search field, I've encountered a challenge. Whenever a user enters text in the search field, a timer resets to 300 ms before an API call is sent to fetch autocomplete results. After receiving these results, the app then waits for another second before sending another request. However, during this time, the user may enter more text. One issue that arises is when the search API is called and, before the response arrives, the user changes the text, triggering another pre-search call. When the response for the initial search arrives, it is mistaken for the pre-search response, leading to errors. Is there any way to address this issue?