Delay to search for searchbar

How can I add a delay while the user types in the searchbar? I am doing an HTTP request and I would only like the request to be made after about 2 seconds that the user has stopped typing. Iam using ionic 3

Add debounce to the search bar.

1 Like

Perfect. I did not think the right way to declare the debounce