Table of Contents

Method Once

Namespace
SodaFlow
Assembly
SodaFlow.dll

Once<T>(Stream<T>)

Return a stream that outputs only one value: the next event of the input stream starting from the transaction of this call.

public static Stream<T> Once<T>(this Stream<T> s)

Parameters

s Stream<T>

The stream.

Returns

Stream<T>

A stream that outputs only one value: the next event of the input stream starting from the transaction of this call.

Type Parameters

T

The type of the stream.