Skip to Main Content
RxJS in Action
book

RxJS in Action

by Luis Atencio, Paul Daniels
September 2017
Beginner to intermediate content levelBeginner to intermediate
352 pages
10h 50m
English
Manning Publications
Content preview from RxJS in Action

Chapter 8. Heating up observables

This chapter

  • The difference between hot and cold observables
  • Working with WebSockets and event emitters via RxJS
  • Sharing streams with multiple subscribers
  • Understanding how hot and cold pertains to how the producer is created
  • Sending events as unicast or multicast to one or multiple subscribers

As you know, an observable function is a lazy computation, which means the entire sequence of operators that encompass the observable declaration won’t begin executing until an observer subscribes to it. But have you ever thought about what happens to all the events that occur before subscription happens? For instance, what does a mouse move observable do with all the mouse events or a WebSocket that has received a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

GraphQL in Action

GraphQL in Action

Samer Buna
Angular in Action

Angular in Action

Jeremy Wilken
RxJS Essentials

RxJS Essentials

Yakov Fain

Publisher Resources

ISBN: 9781617293412Publisher SupportOtherSupplemental ContentErrata PagePurchase Link