Open damirarh opened 1 year ago
Imported comment written by bluebaronca on 2022-10-13T08:04:51
Apparently if you put the debounce and SwitchMap to the HTTP side, if there's an existing HTTP request, it will actually cancel the request. This works in ngrx with effects. I just wish I knew how to do it with the HttpClient directly.
Imported comment written by imbk_dev on 2022-10-21T22:11:05
If you use ngrx, that's taken care of automatically when you use fetch run in your effects.
Imported
URL: https://www.damirscorner.com/blog/posts/20220408-DebounceSearchCallsInAngular.html