Table of Contents

Method FromAdds

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

FromAdds(Stream<Item<TIdentity, TState>>)

Lifts a stream of items into edits which add them.

public static Stream<CollectionEdit<TKey, TIdentity, TState>> FromAdds(Stream<Item<TIdentity, TState>> addsStream)

Parameters

addsStream Stream<Item<TIdentity, TState>>

The stream of items to add.

Returns

Stream<CollectionEdit<TKey, TIdentity, TState>>

The stream of edits.