#javascript #reactive programmingBetter HTTP Polling in JavaScript with RxJS 5Here is the implementation for a function that takes a Promise-based fetch function (eg. using axios) and a function that decides if a response has been successful (from a polling perspective) and polls the fetch function until the isSuccess function returns true: ...