AsyncInfoObservableExtensions
Provides conversions from Windows Runtime asynchronous actions and operations to observable sequences.
Converts a Windows Runtime asynchronous action to an observable sequence.
Each observer subscribed to the resulting observable sequence will be notified about the action's successful or exceptional completion.
public static IObservable<Unit> ToObservable<TProgress>(this IAsyncActionWithProgress<TProgress> source)
Converts a Windows Runtime asynchronous action to an observable sequence, ignoring its progress notifications.
Each observer subscribed to the resulting observable sequence will be notified about the action's successful or exceptional completion.
public static IObservable<Unit> ToObservable<TProgress>(this IAsyncActionWithProgress<TProgress> source, IProgress<TProgress> progress)
Converts a Windows Runtime asynchronous action to an observable sequence, reporting its progress through the supplied progress object.
Each observer subscribed to the resulting observable sequence will be notified about the action's successful or exceptional completion.
Converts a Windows Runtime asynchronous operation to an observable sequence reporting its result.
Each observer subscribed to the resulting observable sequence will be notified about the operation's single result and its successful exceptional completion.
public static IObservable<TResult> ToObservable<TResult, TProgress>(this IAsyncOperationWithProgress<TResult, TProgress> source)
Converts a Windows Runtime asynchronous operation to an observable sequence reporting its result but ignoring its progress notifications.
Each observer subscribed to the resulting observable sequence will be notified about the operations's single result and its successful or exceptional completion.
public static IObservable<TResult> ToObservable<TResult, TProgress>(this IAsyncOperationWithProgress<TResult, TProgress> source, IProgress<TProgress> progress)
Converts a Windows Runtime asynchronous operation to an observable sequence reporting its result and reporting its progress through the supplied progress object.
Each observer subscribed to the resulting observable sequence will be notified about the operations's single result and its successful or exceptional completion.
public static IObservable<TResult> ToObservableMultiple<TResult, TProgress>(this IAsyncOperationWithProgress<TResult, TProgress> source)
Converts a Windows Runtime asynchronous operation to an observable sequence by retrieving the operation's results whenever progress is reported and when the operation completes.
Each observer subscribed to the resulting observable sequence will be notified about the action's successful or exceptional completion.
public static IObservable<TResult> ToObservableMultiple<TResult, TProgress>(this IAsyncOperationWithProgress<TResult, TProgress> source, IProgress<TProgress> progress)
Converts a Windows Runtime asynchronous operation to an observable sequence by retrieving the operation's results whenever progress is reported and when the operation completes. The operation's progress is reported through the supplied progress object.
Each observer subscribed to the resulting observable sequence will be notified about the action's successful or exceptional completion.
public static IObservable<TProgress> ToObservableProgress<TProgress>(this IAsyncActionWithProgress<TProgress> source)
Converts a Windows Runtime asynchronous action to an observable sequence reporting its progress.
Each observer subscribed to the resulting observable sequence will be notified about the action's successful or exceptional completion.
public static IObservable<TProgress> ToObservableProgress<TResult, TProgress>(this IAsyncOperationWithProgress<TResult, TProgress> source)
Converts a Windows Runtime asynchronous operation to an observable sequence reporting its progress but ignoring its result value.
Each observer subscribed to the resulting observable sequence will be notified about the action's successful or exceptional completion.