Ends the stream. <p> Once the stream has ended, it cannot be used any more.
@return a future completed with the result
See Implementation
Ends the stream. <p> Once the stream has ended, it cannot be used any more.
@return a future completed with the result