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
sStream<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
TThe type of the stream.