Code used to demo the power of Rx by comparing the readability of code when writing a very simple app. Presentation
App requirements:
- Delay search request after each keystroke for 0.5 seconds.
- Handle delayed search requests.
- Discard previous search request and only show latest results.
- Only search request after search term > 1 characters.
- Only perform search request until search term is changed
- Have a 30 seconds timeout for the server response.