Skip to content

,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

NameDescription
TSource--

Parameters

NameTypeDescription
sourceIObservable--
dispatcherCoreDispatcher--

Returns: IObservable

2. Overload

public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource> source, CoreDispatcher dispatcher, CoreDispatcherPriority priority)

Type parameters

NameDescription
TSource--

Parameters

NameTypeDescription
sourceIObservable--
dispatcherCoreDispatcher--
priorityCoreDispatcherPriority--

Returns: IObservable