Method HoldLazy
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
HoldLazy<T>(Stream<T>, Lazy<T>)
Makes a cell with the given lazy initial value, and the values of this stream update it.
public static Cell<T> HoldLazy<T>(this Stream<T> s, Lazy<T> initialValue)
Parameters
Returns
- Cell<T>
A cell with the given lazy initial value, which the values of this stream update.
Type Parameters
TThe type of the stream.