Debounce is a technique useful for improving search performance. The debounce function detects every time the user types and waits until a period of time have passed since the last keystroke.
This videos shows an approach about how to use debounce for search in Angular and the RxJS library.