TaskObservableExtensions
Provides a set of static methods for converting tasks to observable sequences.
Returns an observable sequence that signals when the task completes.
Returns an observable sequence that signals when the task completes.
Returns an observable sequence that signals when the task completes.
Returns an observable sequence that propagates the result of the task.
public static IObservable<TResult> ToObservable<TResult>(this Task<TResult> task, IScheduler scheduler)
Returns an observable sequence that propagates the result of the task.
public static IObservable<TResult> ToObservable<TResult>(this Task<TResult> task, TaskObservationOptions options)
Returns an observable sequence that propagates the result of the task.
Returns a task that will receive the last value or the exception produced by the observable sequence.
public static Task<TResult> ToTask<TResult>(this IObservable<TResult> observable, IScheduler scheduler)
Returns a task that will receive the last value or the exception produced by the observable sequence.
Returns a task that will receive the last value or the exception produced by the observable sequence.
public static Task<TResult> ToTask<TResult>(this IObservable<TResult> observable, object state, IScheduler scheduler)
Returns a task that will receive the last value or the exception produced by the observable sequence.
public static Task<TResult> ToTask<TResult>(this IObservable<TResult> observable, CancellationToken cancellationToken)
Returns a task that will receive the last value or the exception produced by the observable sequence.
public static Task<TResult> ToTask<TResult>(this IObservable<TResult> observable, CancellationToken cancellationToken, IScheduler scheduler)
Returns a task that will receive the last value or the exception produced by the observable sequence.
public static Task<TResult> ToTask<TResult>(this IObservable<TResult> observable, CancellationToken cancellationToken, object state)
Returns a task that will receive the last value or the exception produced by the observable sequence.
public static Task<TResult> ToTask<TResult>(this IObservable<TResult> observable, CancellationToken cancellationToken, object state, IScheduler scheduler)
Returns a task that will receive the last value or the exception produced by the observable sequence.