Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Autocomplete debounce-delay is broken with long-running requests #888

Open
mryellow opened this issue Mar 20, 2020 · 2 comments
Open

Autocomplete debounce-delay is broken with long-running requests #888

mryellow opened this issue Mar 20, 2020 · 2 comments

Comments

@mryellow
Copy link

With the request not responding before the delay timer it waits for them to finish and then sends more requests.

Steps to duplicate:

  • Type 3 characters.
  • 1 request is sent and waits for a response
  • Response arrives
  • Delay is triggered
  • Another request is sent
  • Response arrives
  • Delay is triggered
  • Another request is sent

Expected results:

  • Type 3 characters
  • 1 request is sent
  • If further characters are typed when this is pending, the request should be cancelled

debounce-delay functioning should be not be dependant on response times.

@mryellow
Copy link
Author

I believe this long-running request suffered the same issue but was misunderstood. #418

@mryellow
Copy link
Author

This comment talks about Q promises being understood but normal Promises failing. Perhaps ties in here.

#135 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant