O'Reilly logo

RxJS in Action by Paul P. Daniels and Luis Atencio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. It’s about time you used RxJS

This chapter covers

  • Understanding time in RxJS
  • Using time as a new dimension of your programs
  • Building observable streams with time
  • Learning about RxJS operators like debounce and throttle
  • Analyzing event data with buffering

Time is a tricky business. We spoke earlier about the challenges that exist when the code you write isn’t synchronous; it may have unpredictable wait times from one instruction to the next. We defined observables as infinite sequences of events, and now we add the last part of the puzzle to this definition—over time. The ancient Greek Heraclitus implied that time is always in motion, and so are observables.

Observables

are infinite sequences of events over time. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required