Interface IReactiveQbservable<T>
Interface for an observable represented by an expression tree.
Inherited Members
Namespace: Reaqtor
Assembly: Reaqtor.Expressions.Model.dll
Syntax
public interface IReactiveQbservable<out T> : IReactiveObservable<T>, IReactiveQbservable, IReactiveExpressible, IExpressible
Type Parameters
Name | Description |
---|---|
T | Type of the data produced by the observable. |
Methods
Subscribe(IReactiveQbserver<T>, Uri, Object)
Subscribes to the observable using the given observer.
Declaration
IReactiveQubscription Subscribe(IReactiveQbserver<T> observer, Uri subscriptionUri, object state = null)
Parameters
Type | Name | Description |
---|---|---|
IReactiveQbserver<T> | observer | Observer to send the observable's data to. |
System.Uri | subscriptionUri | URI to identify the subscription. |
System.Object | state | Additional metadata to associate with the artifact. Implementations can interpret this value, or ignore it. |
Returns
Type | Description |
---|---|
IReactiveQubscription | Subscription object that can be used to cancel the subscription, or an exception if the subscription was unsuccessful. |
Extension Methods
ReactiveQbservable.Average<TSource>(IReactiveQbservable<TSource>, Expression<Func<TSource, Single>>)