Class Cell
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
Helper methods for creating a Cell<T>.
[PublicAPI]
public static class Cell
- Inheritance
-
Cell
- Inherited Members
Methods
- ConstantLazy<T>(Lazy<T>)
Creates a cell with a lazy constant value.
- Constant<T>(T)
Creates a cell with a constant value.
- CreateLoop<T>()
Creates a cell loop.
- CreateSink<T>(T)
Makes a writable cell that uses the last value if Send<T>(CellSink<T>, T) gets a call more than one time per transaction.
- CreateSink<T>(T, Func<T, T, T>)
Makes a writable cell that uses
coalesceto put values together when Send<T>(CellSink<T>, T) gets more than one call per transaction.
- CreateStreamSink<T>()
Makes a writable cell stream sink that uses the last value if Send<T>(CellSink<T>, T) gets more than one call in one transaction. A caller holds this stream sink into a Cell<T> with Hold<T>(Stream<T>, T).
- CreateStreamSink<T>(Func<T, T, T>)
Makes a writable cell stream sink that uses
coalesceto put values together when Send<T>(StreamSink<T>, T) gets more than one time in each transaction. A caller holds this stream sink into a Cell<T> with the use of Hold<T>(Stream<T>, T).
- Loop<T>()
Creates a helper to loop over a cell for the specified type.