Closed
Description
Hi - I'm very curious in using this project. But this looks like a bug:
Given: Most searches should be canceled when a new search term is done, and that's what I take is the intention of using switchMap.
When: A search is performed
Expected: The old search is canceled.
Actual: Because of the use of jQuery and Promises, the Observable returned from fetchTerm
will not be canceled when the search term changes.
I don't have screen shots yet, but based on the code, that's what I believe the behavior will be.
If the rxjs ajax operators were used, cancelability would be built in. And it's not a good example to use jQuery just for something that rxjs already has.
Metadata
Metadata
Assignees
Labels
No labels