Skip to content

)} ,System.Func{System.IObservable{--0},System.IObservable{--1}})} ,System.Func{System.IObservable{--0},System.IObservable{--1}},System.Func{System.IObservable{--0},System.IObservable{--2}})}

AsyncInfoObservable.ToAsyncOperationWithProgress(IObservable) method

Defined in

Type: AsyncInfoObservable Namespace: System.Reactive.Linq Assembly: System.Reactive.dll

Applies to

net8.0-windows10.0.19041

Overloads

  • 1. public static IAsyncOperationWithProgress<TSource, int> ToAsyncOperationWithProgress<TSource>(this IObservable<TSource> source)
  • 2. public static IAsyncOperationWithProgress<TResult, int> ToAsyncOperationWithProgress<TSource, TResult>(this IObservable<TSource> source, Func<IObservable<TSource>, IObservable<TResult>> resultSelector)
  • 3. public static IAsyncOperationWithProgress<TResult, TProgress> ToAsyncOperationWithProgress<TSource, TResult, TProgress>(this IObservable<TSource> source, Func<IObservable<TSource>, IObservable<TResult>> resultSelector, Func<IObservable<TSource>, IObservable<TProgress>> progressSelector)

1. Overload

public static IAsyncOperationWithProgress<TSource, int> ToAsyncOperationWithProgress<TSource>(this IObservable<TSource> source)

Type parameters

NameDescription
TSource--

Parameters

NameTypeDescription
sourceIObservable--

Returns: IAsyncOperationWithProgress<TSource, int>

2. Overload

public static IAsyncOperationWithProgress<TResult, int> ToAsyncOperationWithProgress<TSource, TResult>(this IObservable<TSource> source, Func<IObservable<TSource>, IObservable<TResult>> resultSelector)

Type parameters

NameDescription
TSource--
TResult--

Parameters

NameTypeDescription
sourceIObservable--
resultSelectorFunc, IObservable>--

Returns: IAsyncOperationWithProgress<TResult, int>

3. Overload

public static IAsyncOperationWithProgress<TResult, TProgress> ToAsyncOperationWithProgress<TSource, TResult, TProgress>(this IObservable<TSource> source, Func<IObservable<TSource>, IObservable<TResult>> resultSelector, Func<IObservable<TSource>, IObservable<TProgress>> progressSelector)

Type parameters

NameDescription
TSource--
TResult--
TProgress--

Parameters

NameTypeDescription
sourceIObservable--
resultSelectorFunc, IObservable>--
progressSelectorFunc, IObservable>--

Returns: IAsyncOperationWithProgress<TResult, TProgress>