releaseStream<T> static method

Stream<T> releaseStream<T>(
  1. Stream<Result<T>> source
)

Releases a stream of source values into a stream of the results.

Result values of the source stream become value or error events in the returned stream as appropriate. Errors from the source stream become errors in the returned stream.

Implementation

static Stream<T> releaseStream<T>(Stream<Result<T>> source) =>
    source.transform(ReleaseStreamTransformer<T>());