Table of Contents

Method AsStream

Namespace
SodaFlow
Assembly
SodaFlow.dll

AsStream<T>(LoopedStream<T>)

Return a reference to this LoopedStream<T> as a Stream<T>.

public static Stream<T> AsStream<T>(this LoopedStream<T> s)

Parameters

s LoopedStream<T>

The looped stream.

Returns

Stream<T>

A reference to this LoopedStream<T> as a Stream<T>.

Type Parameters

T

The type of the looped stream.