Skip to content

Applies to

net10.0, netstandard2.0

public static IObservable<IChangeSet<TObject, TKey>> Filter<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, Func<TObject, bool> filter, ParallelisationOptions parallelisationOptions) where TObject : notnull where TKey : notnull

View source

Summary: Filters the stream using the specified predicate.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>The source.
filterFuncThe filter.
parallelisationOptions[ParallelisationOptions](#The parallelisation options.

Returns: IObservable> -- An observable which emits a change set.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.