Table of Contents

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

csa Cell<Stream<T>>

The cell containing the stream.

Returns

Stream<T>

The unwrapped stream.

Type Parameters

T

The type of the stream.