MBrace.Flow


Distinct

Namespace: MBrace.Flow.Internals.Consumers

Functions and values

Function or valueDescription
distinctBy projection source
Signature: projection:('T -> 'Key) -> source:CloudFlow<'T> -> CloudFlow<'T>
Type parameters: 'T, 'Key

Returns a flow that contains no duplicate entries according to the generic hash and equality comparisons on the keys returned by the given key-generating function. If an element occurs multiple times in the flow then only one is retained.

Fork me on GitHub