,Windows.UI.Core.CoreDispatcher)} ,Windows.UI.Core.CoreDispatcher,Windows.UI.Core.CoreDispatcherPriority)}
CoreDispatcherObservable.SubscribeOn(IObservable, CoreDispatcher) method¶
Defined in
Type: CoreDispatcherObservable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
net8.0-windows10.0.19041
Overloads¶
- 1.
public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource> source, CoreDispatcher dispatcher) - 2.
public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource> source, CoreDispatcher dispatcher, CoreDispatcherPriority priority)
1. Overload¶
public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource> source, CoreDispatcher dispatcher)
Type parameters
| Name | Description |
|---|---|
TSource | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | -- |
dispatcher | CoreDispatcher | -- |
Returns: IObservable
2. Overload¶
public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource> source, CoreDispatcher dispatcher, CoreDispatcherPriority priority)
Type parameters
| Name | Description |
|---|---|
TSource | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | -- |
dispatcher | CoreDispatcher | -- |
priority | CoreDispatcherPriority | -- |
Returns: IObservable