Extends the Stream class with the ability to emit the given value as the final item before closing.
Stream