Create a stream from an iterator
The created stream
0.5.0
The iterator to create the stream from
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