Table of Contents

Method FromStates

Namespace
SodaFlow.Collections
Assembly
SodaFlow.Core.Collections.dll

FromStates(TKey, Stream<TState>)

Lifts a stream of new states for one fixed key into edits.

public static Stream<CollectionEdit<TKey, TIdentity, TState>> FromStates(TKey key, Stream<TState> statesStream)

Parameters

key TKey

The key the states apply to.

statesStream Stream<TState>

The stream of new states.

Returns

Stream<CollectionEdit<TKey, TIdentity, TState>>

The stream of edits.