Exploring reactive javascript with RxJS