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