The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Handling a Complete Stream with Reduce

Handling a Complete Stream with Reduce

1:21
When a stream has completed, you often need to evaluate everything that has happened while the stream was running. This lesson covers how to use `reduce` to collect values and total up a “score” of this simple game.
Watch this lesson now
Avatar
egghead.io

When a stream has completed, you often need to evaluate everything that has happened while the stream was running. This lesson covers how to use reduce to collect values and total up a “score” of this simple game.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?