Method SwitchS
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
SwitchS<T>(Behavior<Stream<T>>)
Unwrap a stream in a behavior to give a time-varying stream implementation. At a change to the behavior, the output stream fires the simultaneous firing, if there is one. That firing comes from the stream that the behavior held at the start of the transaction.
public static Stream<T> SwitchS<T>(this Behavior<Stream<T>> bsa)
Parameters
Returns
- Stream<T>
The unwrapped stream.
Type Parameters
TThe type of the stream.