WriteStream.end

Ends the stream. <p> Once the stream has ended, it cannot be used any more.

@return a future completed with the result

Meta