Completing a Stream with TakeWhile
When you need to total up everything that has happened in your stream, you need to a way to tell your stream that it is “done”. This lesson covers how to use
takeWhile to complete a stream.
Please take a moment to tell your friends: