Export (0) Print
Expand All

TaskObservableExtensions Class

Provides a set of static methods for converting Tasks to IObservables.

System.Object
  System.Reactive.Threading.Tasks.TaskObservableExtensions

Namespace:  System.Reactive.Threading.Tasks
Assembly:  System.Reactive (in System.Reactive.dll)

public static class TaskObservableExtensions

  NameDescription
Public methodStatic memberToObservable(Task)Returns an observable sequence that signals when the task completes.
Public methodStatic memberToObservable<TResult>(Task<TResult>)Returns an observable sequence that propagates the result of the task.
Public methodStatic memberToTask<TResult>(IObservable<TResult>)Returns a task that contains the last value of the observable sequence.
Public methodStatic memberToTask<TResult>(IObservable<TResult>, Object)Returns a task that contains the last value of the observable sequence.
Public methodStatic memberToTask<TResult>(IObservable<TResult>, CancellationToken)Returns a task that contains the last value of the observable sequence.
Public methodStatic memberToTask<TResult>(IObservable<TResult>, CancellationToken, Object)Returns a task that contains the last value of the observable sequence.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft