Class AsyncReactiveObserverExtensions
Provides a set of extension methods for IAsyncReactiveObserver<T>.
Inheritance
System.Object
AsyncReactiveObserverExtensions
Namespace: Reaqtor
Assembly: Reaqtor.Local.Core.dll
Syntax
public static class AsyncReactiveObserverExtensions : Object
Methods
ToObserver<T>(IAsyncReactiveObserver<T>)
Converts an IAsyncReactiveObserver<T> to an IReactiveObserver<T>.
Declaration
public static IReactiveObserver<T> ToObserver<T>(this IAsyncReactiveObserver<T> observer)
Parameters
| Type | Name | Description |
|---|---|---|
| IAsyncReactiveObserver<T> | observer | Observer to provide a wrapper for. |
Returns
| Type | Description |
|---|---|
| IReactiveObserver<T> | Wrapper around the specified observer, exposing the IReactiveObserver<T> interface. |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the data received by the observer. |