Table of Contents

Method AsStream

Namespace
SodaFlow
Assembly
SodaFlow.dll

AsStream<T>(StreamSink<T>)

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

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

Parameters

s StreamSink<T>

The stream sink.

Returns

Stream<T>

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

Type Parameters

T

The type of the stream sink.