Class IObservableExtensions
Extension methods for System.IObservable<T>.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: UnityFx.Async.Extensions
Assembly: UnityFx.Async-netstandard2.0.dll
Syntax
public static class IObservableExtensions
Methods
| Improve this Doc View SourceToAsync<T>(IObservable<T>)
Creates a IAsyncOperation<TResult> instance that can be used to track the source observable.
Declaration
public static IAsyncOperation<T> ToAsync<T>(this IObservable<T> observable)
Parameters
Type | Name | Description |
---|---|---|
System.IObservable<T> | observable | The source observable. |
Returns
Type | Description |
---|---|
IAsyncOperation<T> | Returns an IAsyncOperation<TResult> instance that can be used to track the observable. |
Type Parameters
Name | Description |
---|---|
T | Type of the operation result. |