Table of Contents

Method FilterSome

Namespace
SodaFlow
Assembly
SodaFlow.dll

FilterSome<T>(Stream<Maybe<T>>)

Return a stream that only outputs events that have values, removing the Maybe<T> wrapper, and discarding None values.

public static Stream<T> FilterSome<T>(this Stream<Maybe<T>> s)

Parameters

s Stream<Maybe<T>>

The stream of Maybe<T> values to filter.

Returns

Stream<T>

A stream that only outputs events that have values, removing the Maybe<T> wrapper, and discarding None values.

Type Parameters

T