bitovi / academy

Everything we know about frontend, backend, UX, and Devops consulting and management.
https://www.bitovi.com/academy/
16 stars 3 forks source link

Learn RxJS (Guide Review) #159

Open Amechi101 opened 5 years ago

Amechi101 commented 5 years ago

Basics

RxJS in Angular

Debugging

Error on Blur

Show paying

justinbmeyer commented 5 years ago

In Show Paying, what does count do?

const observables = of(numbers, letters)
// observables: [1-2-3]-[a-b-c]X
// count: 1--2X
Amechi101 commented 5 years ago

count counts the number of emissions that observable completes. For example [1-2-3] is completed that's a count of 1. Next up in the stream [a-b-c] is completed that's a count of 2.

justinbmeyer commented 5 years ago

There is no count observable though right?