Observable.Then(IObservable, Func) method¶
Defined in
Type: Observable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public static Plan<TResult> Then<TSource, TResult>(this IObservable<TSource> source, Func<TSource, TResult> selector)
Summary: Matches when the observable sequence has an available element and projects the element by invoking the selector function.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
TResult | The type of the elements in the result sequence, returned by the selector function. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | Observable sequence to apply the selector on. |
selector | Func | Selector that will be invoked for elements in the source sequence. |
Returns: Plan
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |