Method WithCaptures
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
WithCaptures<TCaptures>(Func<LoopedCell<T>, (Cell<T> Cell, TCaptures Captures)>)
Loop a cell and return a value tuple containing the resulting cell and captures.
[Pure]
public (Cell<T> Cell, TCaptures Captures) WithCaptures<TCaptures>(Func<LoopedCell<T>, (Cell<T> Cell, TCaptures Captures)> f)
Parameters
fFunc<LoopedCell<T>, (Cell<T> Cell, TCaptures Captures)>A function which takes the cell loop and returns a value tuple containing the resulting cell and captures.
Returns
Type Parameters
TCapturesThe type of the captures to return.