EndWithExtension<T> extension

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

on

Methods

endWith(T endValue) Stream<T>

Available on Stream<T>, provided by the EndWithExtension extension

Appends a value to the source Stream before closing.