Table of Contents

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

s Stream<T>

The stream.

initialValue Lazy<T>

The lazily initialized initial value of the cell.

Returns

Cell<T>

A cell with the given lazy initial value, which the values of this stream update.

Type Parameters

T

The type of the stream.