A stream that flattens a stream of streams
0.5.0
The type of the elements in the stream
Create a new flat stream
For each element in the stream, call the given function
Check if the stream has a next element
Map the stream to another stream
Read the next element from the stream