)} ,System.Windows.Threading.DispatcherPriority)}
DispatcherObservable.SubscribeOnDispatcher(IObservable) method¶
Defined in
Type: DispatcherObservable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
net8.0-windows10.0.19041, net462
Overloads¶
- 1.
public static IObservable<TSource> SubscribeOnDispatcher<TSource>(this IObservable<TSource> source) - 2.
public static IObservable<TSource> SubscribeOnDispatcher<TSource>(this IObservable<TSource> source, DispatcherPriority priority)
1. Overload¶
public static IObservable<TSource> SubscribeOnDispatcher<TSource>(this IObservable<TSource> source)
Type parameters
| Name | Description |
|---|---|
TSource | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | -- |
Returns: IObservable
2. Overload¶
public static IObservable<TSource> SubscribeOnDispatcher<TSource>(this IObservable<TSource> source, DispatcherPriority priority)
Type parameters
| Name | Description |
|---|---|
TSource | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | -- |
priority | DispatcherPriority | -- |
Returns: IObservable