Cédric Soulas
I make motion graphics with RxJS. I code apps with JavaScript and Elm. I will be available for freelance work from mid-April 2018. Get in touch!

Ep. 20 Ep. 22 Newsletter Watch all Source on Github

Episode 21 - The scan operator Monday, 5 Feb.

Scan arguments

❚ scan takes three arguments:

The accumulator function combines two values:

As a result, the accumulator returns a new accumulation.

Scan operation

This is how ❚ scan works with an input stream, an accumulator and a seed:

As a result, ❚ scan returns a new stream of accumulated values.

Notes

Ep. 20 Ep. 22 Newsletter Watch all Source on Github

reactive.how list of animated cards

Learn Reactive Programming

Focus on one new concept – every Monday

Occasional updates, plus:

Cédric Soulas
I make motion graphics with RxJS. I code apps with JavaScript and Elm. I will be available for freelance work from mid-April 2018.