Interval Operator and Distinct Operator

Learn how the interval and distinct operators are used in a real-time application.

Our reactive version of the earthquake application doesn’t update the map of earthquakes in real-time. To implement that, we’ll use the interval operator—which we were introduced to earlier in this chapter—and the über-useful distinct operator. Let’s look at the code and then go through the changes:

Get hands-on with 1200+ tech skills courses.